git 查看某个文件的历史记录

1.git log --pretty=oneline 文件名

2.git show <git提交版本号> <文件名>

猜你喜欢

转载自www.cnblogs.com/zwvs/p/12689987.html