uc and urtc for uber checkouts

This commit is contained in:
Ivan Malison 2015-07-06 17:09:54 -07:00
parent c407088e4f
commit 103d6f37ef

View File

@ -21,3 +21,15 @@ udir () {
sdir () { sdir () {
cd ~/Uber/sync/ cd ~/Uber/sync/
} }
function uc {
udir
local project_dir="$(basename $1)"
if [ ! -e $project_dir ]; then
git clone gitolite@code.uber.internal:$1
fi
cd "$project_dir"
}
function urtc {
uc "rt/$1"
}