Git Command Quick Reference


The commands in this article is the result of searching online for solution to common tasks during a project.

List all Tags

git tag -l

Checkout a Specific Tag

git checkout tag-name

Color the Git Output

git config --global color.ui true

Create a Branch and Push

git co branch-name
git push -u branch-name

Create a Tag from a Branch

git tag -a tag-name -m 'commit message'

How to Push Tag

git push --tags

Related Articles