git checkout gh-pages git rebase master git push git checkout master
The blog of Sebastián Gurin about software development. "A place to store those little things that time will erase if not written...."
domingo, 13 de julio de 2014
How to update a branch with master
I always forget how to update a branch with all my changes in the master branch. For example in github, I want to update my branch gh-pages with my latest changes in master - so the documentation and examples of my projects are updated. This is how to do it:
Suscribirse a:
Entradas (Atom)