aboutsummaryrefslogtreecommitdiff
path: root/inception
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-02-22 20:42:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-02-22 20:42:03 -0300
commit08f4a2f517a31742d4085eca6f59ec0054036593 (patch)
tree4930a33428f31e87099c6b867435aee8c70d4f01 /inception
parent9717279fa1c55ac132e660b75e25f38bbccc1121 (diff)
downloadapps-08f4a2f517a31742d4085eca6f59ec0054036593.tar.gz
apps-08f4a2f517a31742d4085eca6f59ec0054036593.tar.bz2
Inceptions: adds fetch and merge actions
Diffstat (limited to 'inception')
-rwxr-xr-xinception4
1 files changed, 4 insertions, 0 deletions
diff --git a/inception b/inception
index b4beaf8..3e7cb0a 100755
--- a/inception
+++ b/inception
@@ -80,4 +80,8 @@ EOF
fi
elif [ "$1" == "version" ]; then
( cd $DIRNAME && git log -n 1 )
+elif [ "$1" == "fetch" ]; then
+ ( cd $DIRNAME && git fetch --all && git log -n 1 --branches=origin/master )
+elif [ "$1" == "merge" ]; then
+ ( cd $DIRNAME && git merge origin/master )
fi