/ / Możliwe sposoby odnoszenia commit - git

Możliwe sposoby odnoszenia commit - gita

Chciałbym znaleźć różne sposoby, w jakie możemy odnieść się do zatwierdzenia w git. Czy ktokolwiek mógłby mi powiedzieć, jakie są różne sposoby, które możemy odnosić do zatwierdzenia w git?

Odpowiedzi:

0 dla odpowiedzi № 1

Oto kilka sposobów, w jakie git poleca commit:

1) commits are referred as relative to one another. For instance HEAD~1 would refer to the commit parent of HEAD.
2) refspecs can be used to refer commits that reside on remote branches using local Git environment.
3) Every tags created in repository would become a ref, which Git would maintain certain commits alias"s.
4) Git"s commit hash can be used to refer corresponding commits.