개발자/GIT

[GIT] remote

zupper 2014. 1. 14. 16:41

$ git push --dry-run origin master

원격저장소에 push하기 전에 시뮬레이션


$ git fetch

$ git merge origin/master

   - 충돌(Conflict) 

       

   - 충돌 수정 후 add & commit & push

$ git add hello

$ git commit -am 'conflit..'

$ git push origin hotfix


$ git pull origin master

$ git pull


$ git fetch


$ git branch -a


$ git checkout -b hotfix

$ git branch -a


$ git pull origin hotfix