summarylogtreecommitdiffstats
path: root/git.sh
diff options
context:
space:
mode:
authorErik Dubois2017-07-14 13:30:43 +0200
committerErik Dubois2017-07-14 13:30:43 +0200
commite4ebfb6330c0c3bb16d5c29fe9cd308d72e3b235 (patch)
treea00b6452a8c9ee277e09462c036fecdd68104a8b /git.sh
downloadaur-e4ebfb6330c0c3bb16d5c29fe9cd308d72e3b235.tar.gz
commit from @ Fri Jul 14 13:30:43 CEST 2017
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