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
One Solution collect form web for “Git push failed after 'git reset –hard HEAD~1' of local repo”
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.