
Git log 예쁘게 출력해서 보기
·
개발
Git 명령어 alias 등록logs라는 매크로 명령어를 추가해 주는 명령이다. logs외에 다른 명령어를 사용하고 싶다면 allias."명령어"로 추가해 주면 된다.git config --global alias.logs "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%Creset' --abbrev-commit" Git 명령어 사용 //일반 출력git logs//일반 출력 + 변경 내역git logs -p//전체 출력git logs --all//전체 출력 + 변경 내역git logs --all -p