Difference between revisions of "Git/clone"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< 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?

Links

Documentation