git init
git remote add origin [git 주소]
git pull
git clone [git 주소]
// 브랜치 생성과 동시에 이동
git checkout -b [브랜치 이름]
// 브랜치 이동
git checkout [브랜치 이름]
// 브랜치 생성
git branch [브랜치 이름]
// 하위 브랜치 생성
git branch [브랜치 이름] [상위 브랜치 이름]
// 변경된 모들 파일 추가
git add -A
// repository에 올리기
git commit -a -m '[커밋 메시지]'
// 특정 브랜치에 push 하기
git push --set-upstream origin [브랜치 이름]
github
나 gitlab
에서 pull request
나 merge request
버튼이 활성화되며, 해당 버튼으로 머지 요청이 가능함