Is there a way to clone a repo without creating the containing directory?
Posted
by Zach
on Stack Overflow
See other posts from Stack Overflow
or by Zach
Published on 2010-04-19T14:07:04Z
Indexed on
2010/04/19
14:23 UTC
Read the original article
Hit count: 271
I have this file structure:
folderIWantStuffIn/
- old_stuff
Now I want to add some new stuff that is in a git repo. I'd like to be able to use git clone
and git pull
right in the directory and get this:
folderIWantStuffIn/
- old_stuff
- new_stuff
When I use git clone
, I get this:
folderIWantStuffIn/
- old_stuff
- NewStuffFolder/
- new_stuff
Are there flags I can pass into git clone
to get this behavior?
© Stack Overflow or respective owner