...
| Code Block | ||
|---|---|---|
| ||
git branch -m <oldname> <newname> |
| Code Block | ||
|---|---|---|
| ||
git branch -D master |
| Code Block | ||
|---|---|---|
| ||
git remote prune <remote_repository_alias> |
| Code Block | ||
|---|---|---|
| ||
git tag -a <tag_name> <sha1> -m"<tag_message>" |
| Code Block | ||
|---|---|---|
| ||
git tag -d <tag_name> |
| Code Block | ||
|---|---|---|
| ||
git push <remote_repository_alias> <tag_name> |
| Code Block | ||
|---|---|---|
| ||
git push <remote_repository_alias> :refs/tags/<tag_name> |
Converting a Mercurial repository to a Git repository
...