In Git how can I know what commit number is my branch on?
Git status just shows the difference between the files
git status
I want to know the commit number my branch is on
I would use git log -1 though you could use git rev-parse HEAD
git log -1
git rev-parse HEAD