forked from mirrors/jj
docs: remove unnecessary git
steps in git-comparison doc
The table describes the simplified Git workflow of always using `git commit -a`. With that workflow, you don't need to `git add` or `git rm` to stage changes.
This commit is contained in:
parent
802bd227e0
commit
1f2ce49e89
1 changed files with 2 additions and 2 deletions
|
@ -71,12 +71,12 @@ commit), but that's left out of the table to keep it simple. For example,
|
|||
<tr>
|
||||
<td>Remove a file from the current change</td>
|
||||
<td><code>rm filename</code></td>
|
||||
<td><code>git rm filename</code></td>
|
||||
<td><code>rm filename</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Modify a file in the current change</td>
|
||||
<td><code>echo stuff >> filename</code></td>
|
||||
<td><code>echo stuff >> filename; git add filename</code></td>
|
||||
<td><code>echo stuff >> filename</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finish work on the current change and start a new change</td>
|
||||
|
|
Loading…
Reference in a new issue