mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-25 05:29:39 +00:00
docs: update git-comparison doc with help about push/pull
This commit is contained in:
parent
39693dcaff
commit
802bd227e0
1 changed files with 20 additions and 1 deletions
|
@ -29,10 +29,29 @@ commit), but that's left out of the table to keep it simple. For example,
|
|||
for cloning non-Git repos yet)</td>
|
||||
<td><code>git clone <source> <destination></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Update the local repo with all branches from a remote</td>
|
||||
<td><code>jj git fetch [--remote <remote>]</code> (there is no
|
||||
support for fetching into non-Git repos yet)</td>
|
||||
<td><code>git fetch [<remote>]</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Update a remote repo with all branches from the local repo</td>
|
||||
<td><code>jj git push [--remote <remote>]</code> (there is no
|
||||
support for pushing from non-Git repos yet)</td>
|
||||
<td><code>git push --all [<remote>]</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Update a remote repo with a single branch from the local repo</td>
|
||||
<td><code>jj git push --branch <branch name>
|
||||
[--remote <remote>]</code> (there is no support for
|
||||
pushing from non-Git repos yet)</td>
|
||||
<td><code>git push <remote> <branch name></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Show summary of current work and repo status</td>
|
||||
<td><code>jj st</code></td>
|
||||
<td><code>git st</code></td>
|
||||
<td><code>git status</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Show diff of the current change</td>
|
||||
|
|
Loading…
Reference in a new issue