#!/bin/sh #repo=${1:-""} path=${1:-""} name=${2:-"backup"} if [ -e ${path} ] ; then cd ${path} git remote rm ${name} else echo "No such file: ${path}" fi