...
No Format |
---|
git commit -m "RR-123 I changed function val_banana to add a check for apples" |
Moving Comitted (but not Pushed) Changes to another branch
This is useful when you try to Push stages to Master and it gets rejected with a message that you need to do this via a pull request.
Run:
git fetch origin
git rebase origin/master
git reset --hard origin/master
(Check before doing this that git status is clear)