Git 명령어 정리


Git 명령어 정리

처음 설정해야할 것 Git 설정 파일 편집하기 git config --global -e VSCode에서 아래와 같이 code 명령어를 설정하면 터미널에서 바로 VSCode 편집기를 열 수 있다. git config --global core.editor "code" git config --global e 편집이 끝날때까지 기다리려면 --wait을 추가하면 된다. git config --global core.editor "code --wait" 사용자의 이름과 이메일을 설정해주어야 한다. git config --global user.name "이름" git config --global user.email "이메일" 설정된 내용은 아래와 같이 확인한다. git config user.name git config user.email 윈도우와 맥간의 Git 사용 시 \n, \r이 저장되는 차이로 혼란이 없도록 아래의 설정을 해주어야 한다. # window git config --global c...


#commit #git #status #명령어 #커밋

원문링크 : Git 명령어 정리