Working with git, after some \'commit\', and a couple of \'push\', I realized that am using the wrong branch !
Now I have to remove in some way my changes in wrong_branc
A bit of shortcut adding to Dhruva's answer
git checkout wrong_branch git revert commitsha1 git checkout right_branch git push right_branch git checkout wrong_branch git reset commitsha2 #commit just before commitsha1 git push wrong_branch -f