git查询某个文件某行代码是谁提交的 1.查询index.js文件的提交记录 git blame index.js 2.查询index.js文件第 5 行到第 9 行的提交记录: git blame -L 5,9 文件名