X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-remote.txt;h=fad983e297514da7e847196b0375e3254fdf235d;hb=6d14414d21973580547ca1935b2692a43c0b0b5f;hp=782b0554cfcd279f45aa4e9164749152615fa160;hpb=196821f440d46029f0399a7d97c0cfc78a870244;p=git.git diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt index 782b0554c..fad983e29 100644 --- a/Documentation/git-remote.txt +++ b/Documentation/git-remote.txt @@ -9,12 +9,13 @@ git-remote - manage set of tracked repositories SYNOPSIS -------- [verse] -'git-remote' [-v | --verbose] -'git-remote' add [-t ] [-m ] [-f] [--mirror] -'git-remote' rm -'git-remote' show -'git-remote' prune -'git-remote' update [group] +'git remote' [-v | --verbose] +'git remote add' [-t ] [-m ] [-f] [--mirror] +'git remote rename' +'git remote rm' +'git remote show' [-n] +'git remote prune' [-n | --dry-run] +'git remote update' [group] DESCRIPTION ----------- @@ -61,6 +62,15 @@ only makes sense in bare repositories. If a remote uses mirror mode, furthermore, `git push` will always behave as if `\--mirror` was passed. +'rename':: + +Rename the remote named to . All remote tracking branches and +configuration settings for the remote are updated. ++ +In case and are the same, and is a file under +`$GIT_DIR/remotes` or `$GIT_DIR/branches`, the remote is converted to +the configuration file format. + 'rm':: Remove the remote named . All remote tracking branches and @@ -80,9 +90,8 @@ These stale branches have already been removed from the remote repository referenced by , but are still locally available in "remotes/". + -With `-n` option, the remote heads are not confirmed first with `git -ls-remote `; cached information is used instead. Use with -caution. +With `--dry-run` option, report what branches will be pruned, but do no +actually prune them. 'update':: @@ -125,7 +134,7 @@ $ git checkout -b nfs linux-nfs/master ... ------------ -* Imitate 'git clone' but track only selected branches +* Imitate 'git-clone' but track only selected branches + ------------ $ mkdir project.git