there's lot of useful git references (what exact name this?), e.g. head, orig_head, fetch_head, merge_head, @{upstream} etc.
is there reference this? complete list explanations?
git revisions brings http://git-scm.com/docs/gitrevisions, describes all the common ways reference commits:
headnames commit on based changes in working tree.fetch_headrecords branch fetched remote repository last git fetch invocation.orig_headcreated commands moveheadin drastic way, record position ofheadbefore operation, can change tip of branch state before ran them.merge_headrecords commit(s) merging branch when run git merge.cherry_pick_headrecords commit cherry-picking when run git cherry-pick.
from git source, can find out bisect_head, revert_head, reject_non_ff_head , several others never need.
that reference explains suffixes (^n, ~n, @{...}), ranges (.. vs ...), , more.
Comments
Post a Comment