git - Possible Ways to refer a commit -


would find different ways can refer commit in git. please let me know different ways can refer commit in git?

here ways git refer commit :

1) commits referred relative 1 another. instance head~1 refer commit parent of head. 2) refspecs can used refer commits reside on remote branches using local git environment. 3) every tags created in repository become ref, git maintain commits alias's. 4) git's commit hash can used refer corresponding commits. 

Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -