The CreatorCon Call for Content is officially open! Get started here.

How to discard changes made to a branch?

Dan Covic2
Tera Contributor

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?

1 REPLY 1

Dan Covic2
Tera Contributor

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.