You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gitkraken-client/diff.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,9 @@ Compare changes within GitKraken Desktop _diffs_. Learn where to access _diffs_,
19
19
20
20
## What is a diff in GitKraken Desktop?
21
21
22
-
A diff shows what was added or removed from a file. <spanstyle='color: #d90171;'>Red</span> is for lines where content was removed whereas <spanstyle='color: #7bd938;'>green</span> is for new lines added.
22
+
A diff shows additions and removals from a file. <spanstyle='color: #d90171;'>Red</span> is for lines where content was removed whereas <spanstyle='color: #7bd938;'>green</span> is for new lines added.
GitKraken Desktop's diff comes included with the following:
27
27
@@ -160,17 +160,17 @@ Use the top toggle button to switch between <kbd>Diff View</kbd>, which shows th
160
160
161
161
A patch, or patchfile, is a file describing changes between 2 files. Patch files can be used to distribute changes that a given user would like to make to a particular revision without codifying it onto a git server. Patches can be created from either a commit(s) or a file(s).
162
162
163
-
To create a patch from a commit, right-click a commit and select `Create patch from commit`. You will be prompted to name the patch after.
163
+
To create a patch from a file, right-click on a file and select `Create patch from file changes`. You will be prompted to name the patch after.
You can also multi-select files or commits by holding command/ctrl or shift and clicking. You can then right-click the selected files or commits to create a patch from the selected.
171
+
You can also multi-select files or commits by holding ctrl/command or shift and clicking. You can then right-click the selected files or commits to create a patch from the selected.
To apply a patch, use the keyboard shortcut `command/ctrl + Shift + P` or click the <iclass="fa fa-magic"style="transform: rotate(225deg)"></i> in the top right of the UI to bring up the Command Palette. Type “Apply Patch" to summon the “Apply Patch” command, and select it to open your file explorer.
0 commit comments