Skip to content

Commit

Permalink
Push and pull are for single remote and branch only. Use pull-all and…
Browse files Browse the repository at this point in the history
… push-all instead.
  • Loading branch information
balupton committed Feb 26, 2011
1 parent bd15935 commit 4b45f92
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions cli
Expand Up @@ -343,12 +343,22 @@ class App
end

# Push to Origin
def push
def push(remote='',branch='')
run("git push "+remote+" "+branch)
end

# Pull
def pull(remote='',branch='')
run("git pull "+remote+" "+branch)
end

# Push to Origin
def push_all
run("git push origin --all")
end

# Pull From Everywhere
def pull
def pull_all
run("git pull --all")
end

Expand Down

0 comments on commit 4b45f92

Please sign in to comment.