Removed due to Git handling this automatically
authorjimmynotjim <jimmynotjim@me.com>
Wed, 27 Nov 2013 18:07:47 +0000 (13:07 -0500)
committerjimmynotjim <jimmynotjim@me.com>
Wed, 27 Nov 2013 18:07:47 +0000 (13:07 -0500)
See this discussion https://github.com/revans/bash-it/pull/242/files#r7964126

plugins/available/git.plugin.bash

index 533cc1d..6506ca4 100644 (file)
@@ -26,14 +26,6 @@ function git_pub() {
   git push -u origin $BRANCH
 }
 
-function add_branch() {
-  about 'adds & tracks a remote branch'
-  group 'git'
-
-  echo "Adding & tracking origin/${1}"
-  git checkout -b $1 origin/$1
-}
-
 function git_revert() {
   about 'applies changes to HEAD that revert all changes after this commit'
   group 'git'