diff options
Diffstat (limited to 'git.sh')
-rwxr-xr-x | git.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/git.sh b/git.sh new file mode 100755 index 000000000000..275cdf15587c --- /dev/null +++ b/git.sh @@ -0,0 +1,16 @@ +#!/bin/bash +############################################################################ +# Author : Erik Dubois +# Website : http://www.erikdubois.be +############################################################################ + + +mksrcinfo +git add --all . + +# Committing to the local repository with a message containing the time details +curtime=$(date) +git commit -m "commit from @ $curtime" + +# Push the local snapshot to a remote destination +git push -u origin master
\ No newline at end of file |