Permalink
Browse files

Simplify some git stuff. Hub should be installed.

  • Loading branch information...
1 parent 2d61af5 commit e591219f0d1851b2c77be52aea5b08d94e1d738e @benhamill committed May 17, 2012
Showing with 2 additions and 6 deletions.
  1. +2 −6 bash_aliases
View
@@ -18,10 +18,6 @@ function gcb() {
git branch | grep '^\*' | cut -c3-
}
-function gco() {
- grep url .git/config | grep github | cut -d: -f2 | sed -e 's/\.git//'
-}
-
function gfb() {
branch=`gcb`
@@ -35,8 +31,8 @@ function gfb() {
fi
}
-alias gpn='git push -u origin `gcb`'
-alias gpr='xdg-open "https://github.com/`gco`/pull/new/`gcb`"'
+alias gpn='git push -u'
+alias gpr='git pull-request'
alias in_app='oibsh app1.insights.prod.ec2.oib.com'
alias oib_jenkins='ssh -L8080:localhost:8080 -i ~/.ssh/oi-production-keypair.key ubuntu@ec2-50-17-93-145.compute-1.amazonaws.com'

0 comments on commit e591219

Please sign in to comment.