File: git-rename-tag.md

package info (click to toggle)
git-extras 4.2.0-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,632 kB
  • ctags: 191
  • sloc: sh: 2,388; makefile: 87
file content (52 lines) | stat: -rw-r--r-- 1,085 bytes parent folder | download | duplicates (2)
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
44
45
46
47
48
49
50
51
52
git-rename-tag(1) -- Rename a tag
=================================

## SYNOPSIS

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

## DESCRIPTION

  Rename a tag (locally and remotely)

## OPTIONS

  <old-tag-name>

  The name of the tag you want to rename.

  <new-tag-name>

  The new name of the tag.

## EXAMPLES

    $ git tag test
    $ git push --tags
    Total 0 (delta 0), reused 0 (delta 0)
    To git@myserver.com:myuser/myrepository.git
     * [new tag]         test -> test
    $ git tag
    test
    $ git rename-tag test test2
    Deleted tag 'test' (was 1111111)
    Total 0 (delta 0), reused 0 (delta 0)
    To git@myserver.com:myuser/myrepository.git
     * [new tag]         test2 -> test2
    remote: warning: Deleting a non-existent ref.
    To git@myserver.com:myuser/myrepository.git
     - [deleted]         refs/tag/test
    $ git tag
    test2

## AUTHOR

Written by Jesus Espino &lt;<jespinog@gmail.com>&gt;

## REPORTING BUGS

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

## SEE ALSO

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