I am working with a remote repository on BeanstalkApp and am trying to remove the last commit that was pushed to that repo.
I was able to reset my last commit on my local repository by using the following command:
git reset HEAD~1
This command worked fine. Now that I have my local repo back to where it was before this commit, I want to push this master branch to the remote Repo on BeanstalkApp.
I tried using the following command:
git push --force -u origin master
After pushing my repo back onto the Master branch, I did not see the last commit removed from the remote repo.
Is there a step I'm missing in performing this process?
Any help is greatly appreciated!