아래 커맨드로 lg 라는 명령어를 등록합니다.
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
git config --global alias.lga "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all"
그 후
git lg 를 통해 UI 툴 부럽지 않게 볼 수 있습니다.
git lg -p 를 통해 변경사항도 확인 가능합니다.
git lga로 전체를 볼 수 있습니다.
같이 오픈소스 진행하는 분이 알려준 팁인데 상당히 마음에 드네요~
https://github.com/wfxr/forgit/blob/master/README.md