git command

1. check a commit before a specified commit

Use git show HEAD^1. You can replace HEAD with your commit-hash

refer: https://stackoverflow.com/questions/25664323/git-get-the-commit-hash-prior-to-a-specific-commit

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章