How to discard changes made to a branch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2024 08:37 AM - edited ‎10-09-2024 08:39 AM
I mistakanly made some changes (in a scoped app) to the branch (i.e., atf) that should not be there. Those changes belong to a different branch. How can I remove those changes from this branch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2024 08:45 AM
My solution was to navigate to the application settings of the scoped app (File > Settings) and delete all the files I didn’t want to be part of the branch (i.e., atf). After deleting the files locally, I committed the changes to my GitHub repo and made a pull request to merge these updates with my GitHub repository.