Wednesday, January 9, 2013

More Git


FETCH_HEAD is a short-lived ref, to keep track of what has just been fetched from the remote repository.
FETCH_HEAD is a reference to the tip of the last fetch, whether that fetch was initiated directly using the fetch command or as part of a pull. 

HEAD is the tip of current branch


git branch –a: shows all the branches git knows about
*master
 remotes/origin/master

master is the branch in the local repository
remotes/origin/master is the a branch named master on the remote named origin. remotes/origin/master = origin/master

No comments:

Post a Comment