cd ~
vim .bashrc
gitpush() { git add . git commit -m "$*" git push } alias gp=gitpush
Test
gp Test commit single command
https://stackoverflow.com/questions/19595067/git-add-commit-and-push-commands-in-one