Simple alias for pushing up a change in git May 29, 2019 gPush() { git add .; git commit -m "$1"; git pull --rebase; git push origin "$2"; } Put above functions in .profile or .bashrc Read more