깃 명령어 단축어(shortcut)으로 사용하기

Tags
config
부가 설명
oh-my-zshgit plugin에서 다양한 단축어들을 제공한다
 
 

zsh 쉘 설정

~/.zshrc 파일을 열고 플러그인 란에 git을 추가한다.
... # Which plugins would you like to load? # Standard plugins can be found in $ZSH/plugins/ # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. plugins=(git zsh-autosuggestions) # 괄호 안에 git을 추가한다. ...
~/.zshrc 파일에 git 플러그인 추가

Aliases

내가 자주 쓰는 명령어

  • ggp : git push origin $(current_branch)
 
💡
있던 것들이 deprecated 되기도 하므로, 공식문서를 참고하는게 더 좋음
 
git plugin - aliases