summaryrefslogtreecommitdiffstats
path: root/git-remote.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-12-10 14:53:38 -0800
committerJunio C Hamano <gitster@pobox.com>2021-12-10 14:53:38 -0800
commit59a32b07d3e226cad19135aee37bf81c8849efc8 (patch)
tree36b60b52ab5a116eed5ea4723dfa5559da7981a2 /git-remote.txt
parentf24d6b5b23d901f1da0026ce4b3f9c1e1b5e09f6 (diff)
downloadgit-htmldocs-59a32b07d3e226cad19135aee37bf81c8849efc8.tar.gz
Autogenerated HTML docs for v2.34.1-182-ge7735
Diffstat (limited to 'git-remote.txt')
-rw-r--r--git-remote.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/git-remote.txt b/git-remote.txt
index 31c29c9b3..2bebc3256 100644
--- a/git-remote.txt
+++ b/git-remote.txt
@@ -10,7 +10,7 @@ SYNOPSIS
--------
[verse]
'git remote' [-v | --verbose]
-'git remote add' [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=(fetch|push)] <name> <url>
+'git remote add' [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=(fetch|push)] <name> <URL>
'git remote rename' <old> <new>
'git remote remove' <name>
'git remote set-head' <name> (-a | --auto | -d | --delete | <branch>)
@@ -18,7 +18,7 @@ SYNOPSIS
'git remote get-url' [--push] [--all] <name>
'git remote set-url' [--push] <name> <newurl> [<oldurl>]
'git remote set-url --add' [--push] <name> <newurl>
-'git remote set-url --delete' [--push] <name> <url>
+'git remote set-url --delete' [--push] <name> <URL>
'git remote' [-v | --verbose] 'show' [-n] <name>...
'git remote prune' [-n | --dry-run] <name>...
'git remote' [-v | --verbose] 'update' [-p | --prune] [(<group> | <remote>)...]
@@ -47,7 +47,7 @@ subcommands are available to perform operations on the remotes.
'add'::
Add a remote named <name> for the repository at
-<url>. The command `git fetch <name>` can then be used to create and
+<URL>. The command `git fetch <name>` can then be used to create and
update remote-tracking branches <name>/<branch>.
+
With `-f` option, `git fetch <name>` is run immediately after
@@ -152,7 +152,7 @@ With `--push`, push URLs are manipulated instead of fetch URLs.
With `--add`, instead of changing existing URLs, new URL is added.
+
With `--delete`, instead of changing existing URLs, all URLs matching
-regex <url> are deleted for remote <name>. Trying to delete all
+regex <URL> are deleted for remote <name>. Trying to delete all
non-push URLs is an error.
+
Note that the push URL and the fetch URL, even though they can