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: content/desktop/contributing-and-collaborating-using-github-desktop/committing-and-reviewing-changes-to-your-project.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ versions:
16
16
### 1. Choosing a branch and making changes
17
17
18
18
1.[Create a new branch](/desktop/guides/contributing-to-projects/managing-branches), or select an existing branch by clicking {% octicon "git-branch" aria-label="The branch icon" %} **Current Branch** on the toolbar and selecting the branch from the list.
19
+
19
20

20
21
{% data reusables.desktop.make-changes %}
21
22
@@ -27,10 +28,13 @@ As you make changes to files in your text editor and save them locally, you will

33
36
* {% data reusables.desktop.commit-some-desc %}
37
+
34
38

35
39
36
40
#### Creating a partial commit
@@ -44,8 +48,10 @@ If one file contains multiple changes, but you only want some of those changes t
44
48
{% endnote %}
45
49
46
50
1. To choose how your changes are displayed, in the top-right corner of the changed file, use {% octicon "gear" aria-label="The Gear icon" %} to select **Unified** or **Split**.
51
+
47
52

48
53
2. To exclude changed lines from your commit, click one or more changed lines so the blue disappears. The lines that are still highlighted in blue will be included in the commit.
54
+
49
55

50
56
51
57
### 3. Discarding changes
@@ -57,8 +63,10 @@ Discarded changes are saved in a dated file in the Trash. You can recover discar
57
63
58
64
{% data reusables.desktop.select-discard-files %}
59
65
{% data reusables.desktop.click-discard-files %}
66
+
60
67

61
68
{% data reusables.desktop.confirm-discard-files %}
69
+
62
70

63
71
64
72
#### Discarding changes in one or more lines
@@ -90,15 +98,19 @@ Once you're satisfied with the changes you've chosen to include in your commit,
0 commit comments