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


Ace the Technical Interview

  • Easily find the gaps in your knowledge
  • Get customized lessons based on where you are
  • Take consistent action everyday
  • Builtin accountability to keep you on track
  • You will solve bigger problems over time
  • Get the job of your dreams

Take the 30 Day Coding Skills Challenge

Gain confidence to attend the interview

No spam ever. Unsubscribe anytime.