Created
February 6, 2020 01:40
-
-
Save SirJson/6e057ef97c256cc3a327d28b6f8c1d67 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
ARG1=$1 | |
MSG=${ARG1:-"Update - $(date)"} | |
function mkcommit() | |
{ | |
echo "Commit Message: $1" | |
git commit -am "$1" | |
} | |
echo "Quick save..." | |
git add -A && mkcommit "$MSG" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment