File: git-rename-remote.md

package info (click to toggle)
git-extras 7.4.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,120 kB
  • sloc: sh: 4,312; python: 994; makefile: 146
file content (43 lines) | stat: -rw-r--r-- 972 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
git-rename-remote(1) -- Rename a remote
=================================

## SYNOPSIS

`git-rename-remote` <old-remote-name> <new-remote-name>

## DESCRIPTION

  Rename a git remote regardless of name conflict, and then list current git remotes

## OPTIONS

  <old-remote-name>

  The name of the remote you want to rename.

  <new-remote-name>

  The new name of the remote.

## EXAMPLES

    $ git remote -v
    origin	git@myserver.com:myuser/foo.git (fetch)
    origin	git@myserver.com:myuser/foo.git (push)
    upstream	git@myserver.com:myuser/bar.git (fetch)
    upstream	git@myserver.com:myuser/bar.git (push)
    $ git-rename-remote upstream origin
    origin	git@myserver.com:myuser/bar.git (fetch)
    origin	git@myserver.com:myuser/bar.git (push)

## AUTHOR

Written by timfeirg &lt;<kkcocogogo@gmail.com>&gt;

## REPORTING BUGS

&lt;<https://github.com/tj/git-extras/issues>&gt;

## SEE ALSO

&lt;<https://github.com/tj/git-extras>&gt;