DEV Community

Discussion on: Productivity 101: Git Aliases for Lazy Developers

Collapse
 
akhilrs profile image
Akhil R S • Edited

I think the best approach is to add the alias in .gitconfig instead of adding them in .bashrc or .zshrc, as Dave mentioned.

I am also using legit for the frequent operations, like pull, push, checkout etc.

github.com/frostming/legit

Collapse
 
mojemoron profile image
Micheal Ojemoron

yeah, Uncoupling git aliases from the shell environment is a better way to go, thanks for the feedback.
I will check out your aliases :)