The detection method git checkout version of Notes

Would like to specify the version detection, such as rollback version, code checked out to old codes

git checkout version number

Go reflog

git checkout label name

 

  1, git log view version information, copy the version number, execute git checkout version number

 

 

 

     2, git log to see is the fallback version, to see if higher than the fallback version of the executable: git reflog

 

 

     3, the label can be detected by a corresponding version, now back label version V2.2.2

Guess you like

Origin www.cnblogs.com/feihan/p/12071500.html