[GIT] 명령어 모음
1. master 브랜치로 origin으로 푸쉬- git push -u origin master 2. revert- git checkout -- '파일경로' 3. 커밋할 파일 저장- git add '경로' 4. 파일 커밋하기- 일반 $ git commit -m '주석' 5. branch 생성- git branch 'name' 6. 현재 branch 확인- git branch 7. 모든 branch 확인- git branch -a 8. branch 변경- git checkout 'name' 9. 변경 사항 merge- git merge 'branch name' 10. 원하는 commit id 받기- git cherry-pick 'commitid' 11. git 설정확인- git config --list 1..
2016. 9. 19. 21:09