Git push failed after 'git reset --hard HEAD~1' of local repo<>
This question already has an answer here:
- Git reset --hard and a remote repository 4 answers
Force push should work: git push -f dropbox
Git is complaining because your remote still has that extra commit, and thus you are behind it in terms of history.