This article shows how to perform more relatively advanced actions with Git
Tutorials:
- From Git: https://git-scm.com/docs/gittutorial
- From Atlassin: https://www.atlassian.com/git/tutorials
How-Tos that I used often
| How To | Command | Note |
| Show tags | $ git tag | |
| Show a Specific Tag | $ git tag -l “v1.4*” | |
| Create a tag called v1.4 | $ git tag -a v1.4 -m “my version 1.4” | |
| Push a tag | $ git push origin v1.5 | |
| Push all tags | $ git push origin –tags | |
| Show the commit | $ git log –pretty=oneline | |
| Tag a specific Commit | $ git tag -a v1.2 9fceb02 | |
| Remove a tag locally | $ git tag -d v1.4 | |
| Remove a tag remotely | $ git push origin :refs/tags/v1.4 | delete a tag v1.4 |
| Create a branch off a tag | $ git checkout -b v2.0.0-branch v2.0.0 | crate a branch version2 off the tag v2.0.0 |