summarylogtreecommitdiffstats
path: root/git.sh
diff options
context:
space:
mode:
authorerikdubois2016-02-08 11:42:38 +0100
committererikdubois2016-02-08 11:42:38 +0100
commita619fbc58f7d83b1265c98167f429a6ed95e0ebe (patch)
treeb4835fd67b27673b3578fb11f22bf20c6ec6eaf3 /git.sh
downloadaur-a619fbc58f7d83b1265c98167f429a6ed95e0ebe.tar.gz
commit from @ Mon Feb 8 11:42:38 CET 2016
Diffstat (limited to 'git.sh')
-rwxr-xr-xgit.sh16
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