Often do not pay attention, it has been used to develop the master branch just forgot to switch, modify the finished commit, push up not only to find.
Then how can we modify the content submitted to another branch and then push it?
step:
1, the first switching branch, I switched to the feature branch
2, switching branch on the way there may be a conflict , must be submitted or shelved conflict files, or one step below an error
3, you commit to master the above record, right click and choose cherry-pick
4, this time you will find what you submitted in the master, have come up feature branch, and direct push feature branch on it.