
깃 사용방법 Terminal, UI프로그램인 Source Tree 사용할수 있다
commands > UI
아래 링크를 클릭하면 해당페이지로 이동
| WINDOW | MAC |
|---|---|
| iterm2 | cmder |
명령어 프로그램이기 때문에
터미널로 배워야 깃을 정확하게 사용할수 있다.
git --version
git config --list
git config --global -e
code .
git config --global user.name "hangueira"
git config --global user.email "hks713@naver.com"
git config user.name
git config user.email
github에서 다양한 운영체제로 개발할경우 변경하지 않았음에도 불구하고 git history 볼때 문제 있을수 있음
| WINDOW | MAC |
|---|---|
| git config --global core.autocrlf true | git config --global core.autocrlf input |
git init
rm -rf .git
git status
git config --h
git add 파일명
git add *
git add *.js
rf -rf cached 파일명
rf -rf cached *
rf -rf cached *.js
git commit -m "설명넣기"
git commit 하기
git commit -m "설명넣기"
git push
