If nobody has recently pulled from your remote repo, you can:
git checkout development
# Make sure you don't have any work in progress
# That will cancel the merge (assuming you didn't make any new commits on it)
git reset --hard HEAD^1
# replace the development branch by your new history
git push origin --force development
(From the SPECIFYING REVISIONS section of the git rev-parse
man page)
I used ^1
instead of ~1
in order to select the first parent (which is in your development branch), instead of the second parent (which is the one from origin/development, merged into your branch).
That being said, ~1
(first ancestor) would probably work too.