반응형
git 별칭
-
Git 간단한 사용법 - aliasDev/Git 2019. 7. 1. 08:14
리눅스의 커맨트 콘솔에서 ~/.alias 파일에 Alias(별칭)을 등록해 놓고 사용할 수 있듯이 Git 자체적으로 Alias 관리 기능을 제공한다. 우선 따라하기. 1. ~/.gitconfig 파일이 있는지 확인해보고 없으면 생성하기 [~]$ touch ~/.gitconfig [~]$ vi ~/.gitconfig # This is Git's per-user configuration file. [user] # Please adapt and uncomment the following lines: name = I Tips email = itips119@gmail.com 이전에 커밋을 수행한적이 있었다면 파일안에 [user] 섹션이 이미 존재할 수도 있다. 2. 어쨌든, 제일 아랫쪽에 [alias] 세션을 만..