- 미리 환경변수에 사용할 user.name, user.email 정보를 등록해두고 user 정보를 간단하게 스위치해주는 기능을 제공
- 환경변수 추가
- GIT_NAME_{domain} / GIT_EMAIL_{domain} 환경변수를 추가
- GIT_NAME_google=JaekwonHa
- GIT_EMAIL_google=[email protected]
- build 후 binary 경로 등록
- make user
- cp bin/gituser /usr/local/bin/gituser
- gituser google
- init
- only stash, pull
- init -d
- develop branch로 이동
- init -b feature/issue-1
- 특정 branch로 이동
init -> stash, checkout, pull
- git 명령어 설치되어 있는지 확인
- .git 폴더가 있는지 확인
- stash 수행
- checkout 수행
- pull 수행
- git log format pretty 자기 브런치꺼 까지만