TIL

Today I Learned

View the Project on GitHub ragubyun/TIL

작업 끝난 branch를 위한 꿀 커맨드 alias 설정

alias gbc='git branch --show-current'
alias gcd='git checkout develop'
alias gpp='git pull --prune'
alias gmd='git merge develop --ff-only'
alias gp='git push'
alias done='gbc | pbcopy; gcd; gpp; git checkout $(pbpaste); gmd; gp'

이제 작업이 끝나면 done 명령어로 간단하게 최신화