One of my projects, When try to push my work on bitbucket using Git Base it gives me failed to push error.
After the google, got the solutions. Thanks to @Javier Parra
You have the same error then try below commands
git push origin master –force
or short of force -f
git push origin master -f