I committed and pushed my changes to a remote branch. Accidentally I included a file that shouldn't have been pushed to that branch. I then created a pull request. I have since done one more commit and push to that branch.
How can I remove the file that was committed by mistake?
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events