| commit | 64c2ba225a936af765be4229243666c26ccd42b9 | [log] [tgz] |
|---|---|---|
| author | Jesse Andrews <anotherjesse@gmail.com> | Sun Oct 16 19:08:04 2011 -0700 |
| committer | Jesse Andrews <anotherjesse@gmail.com> | Sun Oct 16 19:08:04 2011 -0700 |
| tree | e0171495d73883c24277b9828459ee0b542dd0c8 | |
| parent | aa8bb244be4cda5a83d0e5faee9767e3f0171ff9 [diff] |
fixes anthony's comment about not working if you aren't switching branches
diff --git a/stack.sh b/stack.sh index 65b991f..e96ffbc 100755 --- a/stack.sh +++ b/stack.sh
@@ -301,8 +301,9 @@ cd $2 git remote set-url origin $1 git fetch origin + git checkout origin/$3 git branch -D $3 - git checkout $3 + git checkout -b $3 fi }