본문 바로가기
프로그래밍

git 로그를 그래픽하게

by 신일석 2020. 12. 1.

매번 찾기 귀찮은 작업이라 메모!

git config --global -e

아래 내용 추가

[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"

'프로그래밍' 카테고리의 다른 글

유용한 Visual Studio Code 단축키  (0) 2020.12.28