Removed due to Git handling this automatically
See this discussion https://github.com/revans/bash-it/pull/242/files#r7964126pull/242/head
parent
5d22da957b
commit
3aa33ea18a
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue