查看某个文件的git 历史和更改
2015-09-13 19:30
302 查看
refs:
http://stackoverflow.com/questions/278192/view-the-change-history-of-a-file-using-git-versioning
git whatchanged -p filename
git log -p filename
You can also see when a specific line of code inside a file was changed with git blame filename. This will print out a short commit id, the author, timestamp, and complete line of code for every line in the file. This is very useful after you've found a bug
and you want to know when it was introduced (or who's fault it was).
http://stackoverflow.com/questions/278192/view-the-change-history-of-a-file-using-git-versioning
git whatchanged -p filename
git log -p filename
You can also see when a specific line of code inside a file was changed with git blame filename. This will print out a short commit id, the author, timestamp, and complete line of code for every line in the file. This is very useful after you've found a bug
and you want to know when it was introduced (or who's fault it was).
相关文章推荐
- 破解android手机付费软件视频教程
- 《舌尖上的中国》精彩故事
- 分享一个Linux下安装ASM+ORACLE的自动化脚本(三)
- quotation & citation
- Python类的专用方法
- CCF-2015-9-13-04
- 华为测试 字符加密
- 画布
- hdu 5437 优先队列+模拟 **
- ubuntu 14.04设备flash媒体播放器
- 浏览器解析过程
- JQuery动画函数总结
- nyoj 38 布线问题(kruskal 最小生成树)
- 兔子--Spring基金会
- 清除缓存的方法(计算)
- Android图片压缩工具类
- HDU 5233 杂题
- 二叉树的创建和遍历
- 如何善用产品设计的三个层级
- Android图片压缩工具类