Skip to content

Commit

Permalink
Добавил альтернативные варианты команд удаления метки из удаленного р…
Browse files Browse the repository at this point in the history
…епозитория
  • Loading branch information
Imangazaliev committed Jun 24, 2017
1 parent 7501bd5 commit 4cc0740
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,15 @@ git tag -d <tag-name>
git push origin :refs/tags/<tag-name>
```
__Alternatives:__
```sh
git push origin :<tag-name>
```
```sh
git push -d origin <tag-name>
```
## Разное
### Everyday Git in twenty commands or so
Expand Down
6 changes: 5 additions & 1 deletion tips.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,11 @@
},
{
"title": "Удалить тег в удаленном репозитории",
"tip": "git push origin :refs/tags/<tag-name>"
"tip": "git push origin :refs/tags/<tag-name>",
"alternatives": [
"git push origin :<tag-name>",
"git push -d origin <tag-name>"
]
}
]
},
Expand Down

0 comments on commit 4cc0740

Please sign in to comment.