Dev Tools
Git Cheat Sheet
leonhong
2022. 5. 27. 14:22
프로젝트의 모든 파일 push
git add .
git commit -m "내용"
git push origin <branch명>
프로젝트의 모든 파일 pull
git pull origin <branch명>
현재 설정된 Branch 확인
git branch
Branch 변경
git switch <branch명>
Git Clone
Clone 받을 디렉토리로 이동후
git clone <git주소>
현재 사용중인 User 확인
git config user.name
git config --global user.name
현재 연결된 Repository 확인
git remote -v