Answers for "git rev-parse --short HEAD"

0

git rev-parse --short HEAD

#It helps you to find out the commit ID of the current HEAD
git rev-parse HEAD
#OR if you want the shorter commit
git rev-parse --short HEAD
#If you find the latest commit of another branch, you can do
git rev-parse <local-branch-name>
git rev-parse origin/<remote-branch-name>
Posted by: Guest on October-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language