From 802bd227e0438ed68131e624ce93e8cf29b53d01 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sun, 12 Sep 2021 00:36:54 -0700 Subject: [PATCH] docs: update git-comparison doc with help about push/pull --- docs/git-comparison.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/git-comparison.md b/docs/git-comparison.md index 9c3531682..7b6136f92 100644 --- a/docs/git-comparison.md +++ b/docs/git-comparison.md @@ -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) git clone <source> <destination> + + Update the local repo with all branches from a remote + jj git fetch [--remote <remote>] (there is no + support for fetching into non-Git repos yet) + git fetch [<remote>] + + + Update a remote repo with all branches from the local repo + jj git push [--remote <remote>] (there is no + support for pushing from non-Git repos yet) + git push --all [<remote>] + + + Update a remote repo with a single branch from the local repo + jj git push --branch <branch name> + [--remote <remote>] (there is no support for + pushing from non-Git repos yet) + git push <remote> <branch name> + Show summary of current work and repo status jj st - git st + git status Show diff of the current change