DEV Community

Discussion on: Minimizing Keystrokes, Maximizing Productivity  -  Bash Scripting

Collapse
 
bhupesh profile image
Bhupesh Varshney 👾

Nice writeup 🔥

Although a small suggestion

alias gc='git add . && git commit -m'

If you meant git add all the changes, than you should update it to git add -A
git add . will only stage changes in current directory, might get confusing if you run this in sub-directories.

Collapse
 
akshansh2000 profile image
Akshansh Bhanjana

Ahh yes, quite rightly pointed out. I'll update it in the post as well.

Thanks for reading!