Merge branch 'master' of github.com:joshtronic/bash

This commit is contained in:
Josh Sherman 2011-12-03 00:03:20 -05:00
commit 77eebb3708
2 changed files with 9 additions and 0 deletions

6
git/git-delete-branch Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
# remove remote git branch
# usage: git delete-branch name
git branch -D $1
git push origin :$1

View file

@ -1,4 +1,7 @@
#!/bin/bash
# create directory and checkout project from github
# usage: git github-init joshtronic bash
git init $2
cd $2
git remote add origin git@github.com:$1/$2.git