summarylogtreecommitdiffstats
path: root/git.sh
diff options
context:
space:
mode:
authorErik Dubois2017-07-13 21:09:19 +0200
committerErik Dubois2017-07-13 21:09:19 +0200
commitaebf104b81dbf2056e20f112f7ac61917f4cc856 (patch)
tree612123be6c81d717bcfc74051038ead96f736555 /git.sh
downloadaur-aebf104b81dbf2056e20f112f7ac61917f4cc856.tar.gz
commit from @ Thu Jul 13 21:09:19 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