When I specify an ancestor commit object in Git, I'm confused between HEAD^
and HEAD~
. 當我在Git中指定祖先提交對象時,我在HEAD^
和HEAD~
之間感到困惑。 spa
Both have a "numbered" version like HEAD^3
and HEAD~2
. 二者都有一個「編號」版本,例如HEAD^3
和HEAD~2
。 .net
They seem very similar or the same to me, but are there any differences between the tilde and the caret? 在我看來,它們看起來很是類似或相同,可是波浪號和插入符號之間是否有任何區別? code