Skip to content

Commit bb6b1c5

Browse files
committed
accidental commits to main
1 parent fec9e86 commit bb6b1c5

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

source/ch-collaboration.ptx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,11 @@ using <c>main</c> as your <q>Branch name pattern</q>, and
165165
enabling required pull requests.
166166
</p>
167167
</note>
168+
</section>
169+
<section xml:id="sec-collaborators-undo-main">
170+
<title>Undoing accidental commmits to <c>main</c></title>
168171
<p>
169-
Finally, there's no button to push that will fix a commit
172+
Unfortunately, there's no button to push that will fix a commit
170173
made to the local copy of <c>main</c> accidentally, but there
171174
is a quick-enough fix nonetheless.
172175
</p>
@@ -179,7 +182,9 @@ tthe error message <c>Can't push refs to remote.
179182
Try running "Pull" first to integrate your changes.</c>
180183
</p>
181184
<p>
182-
To fix this, open the Terminal and type <xref ref="lst-branch-fix-1"/>,
185+
To fix this, open a Terminal
186+
(<xref ref="remark-terminal-shortcut"/>)
187+
and type <xref ref="lst-branch-fix-1"/>,
183188
changing <c>my-new-branch</c> to the branch name you want to create.
184189
Use <kbd>Enter</kbd> to execute the command.
185190
</p>

0 commit comments

Comments
 (0)