Git/clone

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
Revision as of 02:03, 29 December 2014 by Woozle (talk | contribs) (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 {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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?

Links

Documentation