After using git version control for sometime, you may notice yourself running git status
multiple times right before you commit. Like the programmers we are, we are inherently lazy. in a good way. Instead of typing git status
numerous times a day, type gits
.
Here’s line you’ll need to alias it in the bash terminal
alias gits='git status'
Add this line to either you ~/.bashrc
or ~/.bash_profile
. Remember to reload bash again by opening a new terminal window so bash can import this alias.
Bonus
alias gita='git add'