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