David Carr

GIT alias shortcuts in terminal

Using GIT frequently typing the full git commands every time quickly becomes tedious, thankfully terminal aliases can be created to have shortcuts to run the commands.

First, open bash profile with nano:

nano ~/.bash_profile

Next set the aliases, I’ve set my most used GIT commands to 2 letters

alias gs='git status'
alias ga='git add'
alias gp='git push'
alias gc='git commit -m '

These allow me to type gs press enter to get git status

Using the shortcuts is a huge time server.

Domains are often purchased from multiple providers, keeping track of where a domain is and its DNS settings can be tricky. Domain Mapper solves this by listing all your domains in one place. View your DNS settings and receive reminders to renew your domains. Try it today.

Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2021 DC Blog. All code MIT license. All rights reserved.