DEV Community

Discussion on: Increasing your productivity using aliases

Collapse
lamartire profile image
Konstantin Epishev

I love to create some kind of shortcuts for git as aliases. For example:

alias gs='git status'
alias gc='git commit'
alias gp='git pull'
alias gP='git push'

# and so on
Enter fullscreen mode Exit fullscreen mode

It's very similar to my vim mnemonic shortcuts and looks very consistent.

Collapse
agusrdz profile image
Agustín Rodríguez Author

Aliases are wonderful, before I used some very similar to yours but I opted for something short and declarative so that when I shared them with my colleagues, they would be understandable at first glance 🤓