Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Simplify some git stuff. Hub should be installed.

  • Loading branch information...
commit e591219f0d1851b2c77be52aea5b08d94e1d738e 1 parent 2d61af5
Ben Hamill authored

Showing 1 changed file with 2 additions and 6 deletions. Show diff stats Hide diff stats

  1. 8  bash_aliases
8  bash_aliases
@@ -18,10 +18,6 @@ function gcb() {
18 18
   git branch | grep '^\*' | cut -c3-
19 19
 }
20 20
 
21  
-function gco() {
22  
-  grep url .git/config | grep github | cut -d: -f2 | sed -e 's/\.git//'
23  
-}
24  
-
25 21
 function gfb() {
26 22
   branch=`gcb`
27 23
 
@@ -35,8 +31,8 @@ function gfb() {
35 31
   fi
36 32
 }
37 33
 
38  
-alias gpn='git push -u origin `gcb`'
39  
-alias gpr='xdg-open "https://github.com/`gco`/pull/new/`gcb`"'
  34
+alias gpn='git push -u'
  35
+alias gpr='git pull-request'
40 36
 
41 37
 alias in_app='oibsh app1.insights.prod.ec2.oib.com'
42 38
 alias oib_jenkins='ssh -L8080:localhost:8080 -i ~/.ssh/oi-production-keypair.key ubuntu@ec2-50-17-93-145.compute-1.amazonaws.com'

0 notes on commit e591219

Please sign in to comment.
Something went wrong with that request. Please try again.