How to alias git commands?

webeleon profile image Webeleon ・1 min read

If you are familiar with git, you should know about the git pull command.

If you speak French, you know it's pronounce the same as chicken (poule)

And if you have a sense of humour as lame as mine, you need to alias the command git pull as git poule

git config --global alias.poule pull

Now it's your turn, what will you do?


markdown guide

Good to know, thank you for this tip. :) Without global flag can we define alias for project only?

Btw. I really like short and pithy posts like this.


Just tested without the --global flag and yes it can be aliased locally.


In the same tone, you have Marcel, which is the Docker CLI, but translated with french options instead.


Here's a time saver:
git config --global alias.pill pull

Also in my .bashrc:
alias gut=git