Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 65 lines (43 sloc) 1.721 kb
1a11fee @schacon initial version of git-pulls
schacon authored
1 git-pulls
00041b4 @schacon Added 'origin' remote requirement
schacon authored
2 =========
1a11fee @schacon initial version of git-pulls
schacon authored
3
4 Makes it easy to list and merge GitHub pull requests.
5
6 $ git pulls update
7 [fetches needed data for all pull requests]
8
9 $ git pulls list
10 Open Pull Requests for schacon/git-reference
11 19 10/26 0 Fix tag book link ComputerDruid:fix-ta
12 18 10/21 0 Some typos fixing. mashingan:master
13
14 $ git pulls list --reverse
15 Open Pull Requests for schacon/git-reference
16 18 10/21 0 Some typos fixing. mashingan:master
17 19 10/26 0 Fix tag book link ComputerDruid:fix-ta
18
19 $ git pulls show 1
20 > [summary]
21 > [diffstat]
22
23 $ git pulls show 1 --full
24 > [summary]
25 > [full diff]
26
27 $ git pulls browse 1
28 > go to web page (mac only)
29
f28f170 @schacon readme update
schacon authored
30 $ git pulls merge 1
1a11fee @schacon initial version of git-pulls
schacon authored
31 > merge pull request #1
fed9a6c @grzegorzkazulak private repositories support
grzegorzkazulak authored
32
00041b4 @schacon Added 'origin' remote requirement
schacon authored
33 Requirements
34 ------------
35
36 `git-pulls` assumes you're using an 'origin' remote. If you are not, simply add an 'origin'
37 remote that points to the GitHub repository you want to check for pull requests.
38
fed9a6c @grzegorzkazulak private repositories support
grzegorzkazulak authored
39 Private repositories
00041b4 @schacon Added 'origin' remote requirement
schacon authored
40 --------------------
fed9a6c @grzegorzkazulak private repositories support
grzegorzkazulak authored
41
42 To manage pull requests for your private repositories you have set up your git config for github
43
44 $ git config --global github.user your_gitubusername
45 $ git config --global github.token your_githubtoken123456789
46
47 You can find your API token on the [account](https://github.com/account) page.
48
a4c72b6 @schacon add GitHub Enterprise support
schacon authored
49 Using git-pulls with GitHub Enterprise
50 --------------------------------------
51
52 If you want to use the git-pulls script with a private GitHub install, set the
53 github.host config value to your internal host.
54
55 $ git config --global github.host github.mycompany.com
1a11fee @schacon initial version of git-pulls
schacon authored
56
14de5af @cypher Add installation docs to README. Closes #3
cypher authored
57 Installation
00041b4 @schacon Added 'origin' remote requirement
schacon authored
58 ============
14de5af @cypher Add installation docs to README. Closes #3
cypher authored
59
60 Simply install it via Rubygems:
61
62 gem install git-pulls
63
a4c72b6 @schacon add GitHub Enterprise support
schacon authored
64 (Prefix with `sudo` if necessary)
Something went wrong with that request. Please try again.