Git - Tagging
You want to create a tag named
staging on the commit that is three commits before the current HEAD. Which command should you use?staging on the commit that is three commits before the current HEAD. Which command should you use?HEAD~3 means three commits before HEAD.HEAD^3 means the third parent of a merge commit, not three commits before.HEAD~1~2 is equivalent to HEAD~3 but less clear.HEAD^^^ also means three commits before HEAD but is less readable.HEAD~3 is the clearest and most common way.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions