From 6d854c6d738b77ce3e26914e6fb8eddab236dcea Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 29 Nov 2016 10:22:27 -0200 Subject: Moves zsync to ztd with some improvements, adds status --- zsync | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100755 zsync (limited to 'zsync') diff --git a/zsync b/zsync deleted file mode 100755 index 501db02..0000000 --- a/zsync +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -# -# ZTD extension to commit, push and fetch a project. -# - -# Parameters -PROJECT="$1" - -# Try to get there -if [ ! -z "$PROJECT" ]; then - cd $PROJECT -fi - -# Sync -if [ -d '.git' ]; then - if which updates > /dev/null; then - updates - else - git commit -a -m "Updates $PROJECT" - git push - fi - - git fetch --all -fi -- cgit v1.2.3