#!/bin/bash

SRC_PATH=~/repo/src/${1}

cd ~/repo/${1}.git

rm -r ${SRC_PATH}
mkdir ${SRC_PATH}

GIT_WORK_TREE=${SRC_PATH} git checkout -f

