Open SourceTree and select the repository you want to work with. Here are the steps to discard changes using the discard option: This option will remove all changes made to the files and will revert them to the last committed version. To discard uncommitted changes in SourceTree on macOS, you can use the "Discard" option. Method 2: Discarding Changes using the Discard Option That's it! By following these steps, you can easily discard uncommitted changes in SourceTree for macOS using the "Resetting to a Specific Commit" method. Make sure to create a backup or commit your changes before resetting the repository. Note: Be careful when using the "Resetting to a Specific Commit" method as it permanently discards all changes after the chosen commit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |