Chinaunix首页 | 论坛 | 博客
  • 博客访问: 60426
  • 博文数量: 11
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 100
  • 用 户 组: 普通用户
  • 注册时间: 2015-03-24 12:34
文章分类
文章存档

2019年(3)

2018年(8)

我的朋友

分类: LINUX

2018-11-22 14:35:44

View the change history of a file using Git versioning


Copy from []

a simple usage: 
    git lg --follow  -- drivers/nand/nand.c  # --graph  --all  -p

[alias]
    lg = log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\n--abbrev-commit --date=relative

阅读(3453) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~