Git/clone
< Git
Jump to navigation
Jump to search
Action: clones a repository into a new directory
After cloning, a plain git fetch without arguments will update all the remote-tracking branches, and a git pull without arguments will in addition merge the remote master branch into the current master branch, if any, unless the "--single-branch" option is used.
Question
What happens if you clone a repository into the same directory you cloned it into earlier?