DEV Community

Discussion on: Most useful aliases for git

Collapse
paulcodes profile image
Paul Golubkov Author • Edited on

Hi! Good question! Yes, you can use git aliases, it's not a bad choice. I prefer use bash aliases instead because I also have other type of aliases, so I like to have one place for all of them. And how you can see in the article I use bash script for getting current_branch name and use it in my aliases, I think it's not posible in git aliases.

And bash aliases are shorter :)