summarylogtreecommitdiffstats
path: root/git.sh
diff options
context:
space:
mode:
authorErik Dubois2019-01-08 22:21:58 +0100
committerErik Dubois2019-01-08 22:21:58 +0100
commit88803e1561ea283faf5a4f8fe9794263ddfb788a (patch)
tree97e52ba3db3a5a905811cd498bdb3b6d1afc55c0 /git.sh
parentca421e8d6464f7bace68e7cac0ad1a4f0834467b (diff)
downloadaur-88803e1561ea283faf5a4f8fe9794263ddfb788a.tar.gz
commit from @ Tue Jan 8 22:21:58 CET 2019
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