Single Git Command (Alias) for Add, Commit and Push

October 19, 2019
git config --global alias.acp '!f() { git add . && git commit -m "$@" && git push origin master; }; f'
git acp 'Initial commit'
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.