11/23/2023 0 Comments Github view commit history![]() ![]() You can discard all uncommitted changes in one or more files, or you can discard specific lines you added.ĭiscarded changes are saved in a dated file in the Trash. This will remove the changes from the files on your computer. If you have uncommitted changes that you don't want to keep, you can discard the changes. The lines that are still highlighted in blue will be included in the commit. To exclude changed lines from your commit, click one or more changed lines so the blue disappears. This allows you to make separate, meaningful commits, such as keeping line break changes in a commit separate from code or prose changes. The rest of your changes will remain intact, so that you can make additional modifications and commits. If one file contains multiple changes, but you only want some of those changes to be included in a commit, you can create a partial commit. You can toggle the checkbox with the Spacebar or Enter keys after selecting a file. To add all changes in one or more files to a single commit, unselect the checkboxes next to the files you don't want included, leaving only the files you want in the commit. To add all changes in all files to a single commit, keep the checkbox at the top of the list selected. ![]() To access stashed changes, click Stashed Changes. The yellow icon indicates modified files. In the "Changes" tab in the left sidebar:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |