That way, when you do push your branch up for a pull request and code review it can be easily merged in with the master branch.
Assuming you're on my-feature-branch...
Rebase Commands
git checkout master
git pull
git checkout my-feature-branch
git rebase master
git push -f
Notes
Be sure to run git push -f, not what git is likely to suggest after you run the git rebase master command (git pull).If you do have the misfortune of pulling changes into the rebase work you did, then you'll end up with a bunch of recent commits to the master branch, that you've already accounted for, in your pull request...
...and you will likely need to delete that branch and recreate it by cherry picking the commits you need.
References
http://git-scm.com/docs/git-rebaseThis work is licensed under the Creative Commons Attribution 3.0 Unported License.
CA Siteminder CA Siteminder Training "
ReplyDeleteCA Siteminder Online Training
Send ur Enquiry to contact@21cssindia.com
21st Century SiteMinder Training Synopsis:
Through a combination of presentations and hands-on lab work, the students will go through a complete SiteMinder implementation project, including installation, configuration, deploying agents, protecting applications, maintaining, and troubleshooting." more… Online Training- Corporate Training- IT Support U Can Reach Us On +917386622889 - +919000444287 http://www.21cssindia.com/courses/ca-siteminder-online-training-190.html
It is very cool to know such information
ReplyDeleteadult service