git pretty1 로컬에서 깃브랜치 그래프로 보는법 git rebase를 사용하게 되면서 브랜치들이 나뉘고 다시 한커밋으로 정리되서 합쳐지는 것을 반복하고있었는데 로컬에서 이를 쉽게 그래프로 보기위해 설정을 추가했다. ~/.gitconfig 파일에 다음과 같은 내용을 추가하면 적용된다. [alias] lg = lg1 lg1 = lg1-specific --all lg2 = lg2-specific --all lg3 = lg3-specific --all lg1-specific = 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.. 2021. 12. 17. 이전 1 다음