




git config --l
git config --list
git config --l --show-origin
git config --list --show-origin
git config <key>
git 저장소 생성

git init
: 경로 폴더 안에서 git init 을 해야한다.
Remote Repository URL

git clone
: clone 할 위치에서 clone
git clone with Token


git status

git add

git commit

git ignore


git RM

git MV



Remote 저장소 추가

Remote 저장소 주소 수정

Remote 저장소 이름 수정

Remote 저장소 삭제

Remote 저장소 정보 확인

Remote 저장소 상세 정보 확인

Pull
git pull

git push

git checkout <commit_id>

git branch
git branch -r
git branch -a
git branch <branch_name>
git branch <branch_name>
git push origin <branch_name>
git branch --delete <branch_name>
git branch -D <branch_name> -> 생성만 하고 merge 안한 상태에서 삭제하는 경우사용
git push origin --delete <branch_name>
git checkout <branch_name>
git checkout -b <branch_name>

conflict란?

conflict 해결

바로 push 하지 말고 항상 pull 먼저 하는 습관이 좋다!
git tag 란?

git tag <tag_name>
git tag
git tag <tag_name> <commit_id>
git push origin <tag_name>
git show <tag_name>
git tag --delete <tag_name>