diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:35:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:35:57 -0700 |
commit | a89117826695bd15a06ab893f088622d58d49b0f (patch) | |
tree | 70a28e4da17998aca0ba3e65532c146377dc655b /git-fetch.txt | |
parent | cb66540f7a8e62233e4f403871e927e8de01bb3f (diff) | |
download | git-htmldocs-a89117826695bd15a06ab893f088622d58d49b0f.tar.gz |
Autogenerated HTML docs for v2.27.0-343-g4a0fcf
Diffstat (limited to 'git-fetch.txt')
-rw-r--r-- | git-fetch.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/git-fetch.txt b/git-fetch.txt index 5b1909fdf..45b6d8e63 100644 --- a/git-fetch.txt +++ b/git-fetch.txt @@ -255,14 +255,14 @@ refspec. * Using refspecs explicitly: + ------------------------------------------------ -$ git fetch origin +pu:pu maint:tmp +$ git fetch origin +seen:seen maint:tmp ------------------------------------------------ + -This updates (or creates, as necessary) branches `pu` and `tmp` in +This updates (or creates, as necessary) branches `seen` and `tmp` in the local repository by fetching from the branches (respectively) -`pu` and `maint` from the remote repository. +`seen` and `maint` from the remote repository. + -The `pu` branch will be updated even if it does not fast-forward, +The `seen` branch will be updated even if it does not fast-forward, because it is prefixed with a plus sign; `tmp` will not be. * Peek at a remote's branch, without configuring the remote in your local |