Answers for "git get last commit id"

5

how do i get the last commit

$ git reset --soft HEAD~1
Posted by: Guest on April-15-2020
0

git get last commit id

git log --format="%H" -n 1
Posted by: Guest on August-21-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language