Unintended I pull a remote branch feature1
into development
1. git checkout development
2. git pull origin feature1
The branch development
is ahead of origin/development
by N
commits. I can't push changes to origin/development. After pull, I tried run merge --abort
but it did not work.
Is there a way to undo all new changes (commits to push) in a branch in particular?