github
...
- local branch upstream 설정
- $ git branch --set-upstream-to=origin/<remote branch name> <local branch name>
- push
- $ git push origin HEAD:<remote branch>
- local branch 변경 사항 remote master 에 push 하기
- $ git push origin <local branch name>:<remote branch name>
- https://help.github.com/articles/pushing-to-a-remote/
- Windows 에서 사용 시 (Unix 공용 시 LF 사용 추천)
- git diff 시 ^M 무시하기
- $ git config core.whitespace cr-at-eol
- crlf 자동 변환
- $ git config --global core.autocrlf true
- crlf warning 없애기
- $ git config --global core.safecrlf false
- git diff 시 ^M 무시하기
- tagging
- tag 확인하기
- git tag
- tag 달기
- git tag 1.0
- or git tag -a 1.0 -m "Release 1.0"
- push
- git push --tags
- tag 삭제
- git tag -d 1.0
- remote tag 삭제
- git push origin :1.0
- tag 확인하기
...