Difference between revisions of "Git/clone"
< Git
Jump to navigation
Jump to search
(Created page with "'''Action''': clones a repository into a new directory After cloning, a plain git {{l/same|fetch}} without arguments will update all the remote-tracking branches, and a git {...") |
(No difference)
|
Revision as of 02:03, 29 December 2014
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?