git View History Code

Show all diff a commit

git log
git show 7ad028eb7f860d97d7c3d454b729fc97b9b1a25f

A file to display a commit diff

git log
git show 7ad028eb7f860d97d7c3d454b729fc97b9b1a25f /e/test.txt

 

Guess you like

Origin www.cnblogs.com/suruozhong/p/12112025.html