When I specify an ancestor commit object in Git, I\'m confused between HEAD^ and HEAD~.
HEAD^
HEAD~
Both have a \"numbered\" version like HEAD^3<
HEAD^3<
~ this means parent.
~
^ if it has parents of two or more, like merge commit, we can select second of parent or another.
^
so if just one thing like (HEAD~ or HEAD^), it has same results.