Git pushing local branch to remote branch -


i have 2 remote branches:

  • master
  • stable

the master branch aligned release; production ready code stays here. stable branch used testing. our hudson builder rebuilds code on each push, send built product test team.

i use local branches dependent stable branch given job.

i need push commit stable branch build product, after tests passed, how can merge local branch - parent stable branch - master?

after finish development on stable branch should merge master go command line:

git checkout master checkout master branch.

git pull make sure have latest code.

git merge stable when editor pops up(if vi hit :q) quit.

git push -u origin master push merged master origin master.

thats have latest code on master.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -