Git clone another directory

Git not only lets you clone from a remote URL, but it also lets you clone from direc­tory in a local sys­tem. This opens other oppor­tu­ni­ties of being able to share your code with oth­ers. For exam­ple, you could have a shared drop­box folder that acts as a remote and every­one can pull from it. As long as you don’t com­mit con­cur­rently, it isn’t too bad to act as a free place to host your git projects.

You can git clone a repos­i­tory from another direc­tory by

git clone /dir/where/project/exists /dir/where/you/want/to/work

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *