Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git add, commit and push in one command

git config --global alias.cmp '!f() { git add -A && git commit -m "$@" && git push; }; f'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #commit #push #command
ADD COMMENT
Topic
Name
8+7 =