From 2a7ad02751253621fb98d0cd1220eadff1a30179 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Fri, 5 Aug 2011 21:52:09 -0400 Subject: [PATCH] Added script to easily git init and pull a github repo. --- github-init | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 github-init diff --git a/github-init b/github-init new file mode 100755 index 0000000..8192e31 --- /dev/null +++ b/github-init @@ -0,0 +1,6 @@ +#!/bin/bash +git init $2 +cd $2 +git remote add origin git@github.com:$1/$2.git +git pull origin master +cd ..