diff options
-rwxr-xr-x | inception | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |