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 :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
@paulcodes Wouldn't it be better to create git aliases instead of bash aliases? My personal choice is to have git aliases.
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 :)