Criando atalhos no bash do linux — Willem Allan

# git commit
pull(){
git pull origin "${1:-master}"
}

push(){
git push origin "${1:-master}"
}

cm() {
git commit -m "$1" -a
}

# git add all & commit
cma() {
git add .
git commit -m "$1" -a
}

s(){
git status
}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store