技术小黑屋

Revert a Certain File Back to a Certain Commit

1
2
3
4
#Grammar
git checkout <commit> <filename>
#Examples
git checkout 19ea3021303c89449506e99e25de3a061dc5aa75 AndroidManifest.xml

Others


我的知乎 Live 推荐