This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For Git For Windows use: | |
[alias] | |
alias.sacp=!f() { git status && git add . && git status && git commit -m "$1" && git push; }; f | |
alias.sync=!f() { git pull && git push; }; f | |
alias.sacs=!f() { git status && git add . && git commit -m "$1" && git pull && git push; }; f | |
# For git on Mac/Linux use: | |
[alias] | |
sacp=!git status && git add . && git status && git commit -m "$1" && git push | |
sacs=!git status && git add . && git commit -m "$1" && git pull && git push |