Answer the question
In order to leave comments, you need to log in
How to NOT create a folder in git clone?
If git clone git://github.com/schacon/grit.git
then the grit folder will be created
If git clone git://github.com/schacon/grit.git mygrit
then the mygrit folder will be created
How to do it if I do NOT want the folder to be created, I am already in the folder from which I launched bash, and I just want the .git folder to appear next to the files without nesting
Answer the question
In order to leave comments, you need to log in
Clone does not work with already created directories. You can do git init then add origin then pull or fetch
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question