類似SVN中的指令:svn info -r BASE "d:/project/Coding"
我現在想知道在git中有沒有類似的指令可以得到commit id
跪謝!
阿神2017-05-02 09:33:28
兩個命令均可以,如同 @雲語2019 所說:
#git reflog
git log --pretty =oneline
結果如下:
69e1506ad9fed9771b9f7d1e478ac2ff05fc3604 Add git user profile functions for prompt display
c4582777fc50162d8b433cabad34f629b0ea9b98 Merge pull request #4957 from TorrentKatten/master
e8a9d0ee1a97033fb4aa371263889b77200b6d62 localization support for clock in candy theme
c3b3de5f29b72b45393b62d794450ad3a72703a8 Merge pull request #4956 from RobLoach/asdf
616ac67924212df2f75139c94ca323f13f249dc6 Add 'asdf' plugin