git alias
너무 너무 긴 명령어 + 옵션을 치는게 귀찮을때 alias 를 git 에 한번 등록해 놓으면, 명령어를 다 치지 않아도 편하게 할 수 있다!
.gitconfig 파일
[user] name = insanehong email = insanehong@gmail.com [alias] lg = log --all --oneline --decorate --graph
위처럼 해놓으면 lg 만 입력하면 "log --all --oneline --decorate --graph" 이 명령어가 쳐지는것과 같다.
'Git' 카테고리의 다른 글
5. Git Remote (0) | 2016.10.18 |
---|---|
4. git branch 이해하기! (0) | 2016.10.17 |
2. git add, commit, status 명령어 (0) | 2016.10.17 |
1. Git Init ( Git 시작 설정하기 ) (0) | 2016.10.17 |
0. Git 강의 (0) | 2016.10.07 |