logo
  • 教程列表
  • SO官方文档
  • 归咎
    • 只显示某些行
    • 显示上次修改行的提交
    • 忽略仅限空白的更改
    • 找出谁更改了文件
  1. StackOverflow 文档
  2. Git 教程
  3. 归咎
  4. 找出谁更改了文件

找出谁更改了文件

Created: November-22, 2018

// Shows the author and commit per line of specified file
git blame test.c 

// Shows the author email and commit per line of specified 
git blame -e test.c file

// Limits the selection of lines by specified range
git blame -L 1,10 test.c 
  • 忽略仅限空白的更改

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明