What is the mechanism of a git checkout?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



does a git checkout pull the contents of a branch? how does it physically
separate files in your working directory from other branches? 

The speed of which it works leads me to the logical conclusion that the
files in the working directory are all there for all branches and git simply
only shows you the files of the active branch.

Can anyone shed more light on the underlying mechanisms of git checkout
maybe even branch and merge as well?

thanks
-diego
www.greyrobot.com
-- 
View this message in context: http://www.nabble.com/What-is-the-mechanism-of-a-git-checkout--tp23764024p23764024.html
Sent from the git mailing list archive at Nabble.com.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]