Skip to content

Commit 7427a6d

Browse files
YSSVRlucascosti
andauthored
indentation mistake (#4773)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
1 parent 06521f5 commit 7427a6d

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

content/desktop/contributing-and-collaborating-using-github-desktop/committing-and-reviewing-changes-to-your-project.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ versions:
1616
### 1. Choosing a branch and making changes
1717

1818
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+
1920
![Drop down menu to switch your current branch](/assets/images/help/desktop/select-branch-from-dropdown.png)
2021
{% data reusables.desktop.make-changes %}
2122

@@ -27,10 +28,13 @@ As you make changes to files in your text editor and save them locally, you will
2728
* The yellow {% octicon "diff-modified" aria-label="The diff modified icon color-yellow" %} icon indicates modified files.
2829
* The green {% octicon "diff-added" aria-label="The diff added icon color-green" %} icon indicates added files.
2930
* To access stashed changes, click **Stashed Changes**.
30-
![Stashed changes option](/assets/images/help/desktop/stashed-changes.png)
31+
32+
![Stashed changes option](/assets/images/help/desktop/stashed-changes.png)
3133
* {% data reusables.desktop.commit-all-desc %}
34+
3235
![Select checkbox to commit all changed files](/assets/images/help/desktop/commit-all.png)
3336
* {% data reusables.desktop.commit-some-desc %}
37+
3438
![Select checkboxes next to the files you want to commit](/assets/images/help/desktop/commit-some.png)
3539

3640
#### Creating a partial commit
@@ -44,8 +48,10 @@ If one file contains multiple changes, but you only want some of those changes t
4448
{% endnote %}
4549

4650
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+
4752
![Gear icon with unified and split diffs](/assets/images/help/desktop/gear-diff-select.png)
4853
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+
4955
![Unselected lines in a file](/assets/images/help/desktop/partial-commit.png)
5056

5157
### 3. Discarding changes
@@ -57,8 +63,10 @@ Discarded changes are saved in a dated file in the Trash. You can recover discar
5763

5864
{% data reusables.desktop.select-discard-files %}
5965
{% data reusables.desktop.click-discard-files %}
66+
6067
![Discard Changes option in context menu](/assets/images/help/desktop/discard-changes-mac.png)
6168
{% data reusables.desktop.confirm-discard-files %}
69+
6270
![Discard Changes button in the confirmation dialog](/assets/images/help/desktop/discard-changes-confirm-mac.png)
6371

6472
#### 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,
9098
{% endnote %}
9199

92100
{% data reusables.desktop.commit-message %}
101+
93102
![Commit message field](/assets/images/help/desktop/commit-message.png)
94103
2. Optionally, to attribute a commit to another author, click the add co-authors icon and type the username(s) you want to include.
104+
95105
![Add a co-author to the commit message](/assets/images/help/desktop/add-co-author-commit.png)
96106
{% data reusables.desktop.commit-button %}
107+
97108
![Commit button](/assets/images/help/desktop/commit-button.png)
98109
4. If the branch you're trying to commit to is protected, Desktop will warn you.
99110
- To move your changes, click **switch branches**.
100111
- To commit your changes to the protected branch, click **Commit to _BRANCH_**.
101112

102113
For more information about protected branches, see "[About protected branches](/github/administering-a-repository/about-protected-branches)".
114+
103115
![Protected branch warning](/assets/images/help/desktop/protected-branch-warning.png)
104116
{% data reusables.desktop.push-origin %}

0 commit comments

Comments
 (0)