mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
Merge pull request #567 from nicolaiskogheim/git-pull-request-fix#546
pull-request: should read local config if present
This commit is contained in:
commit
fb3bc8d7ae
|
|
@ -30,7 +30,7 @@ EOF
|
|||
|
||||
# user
|
||||
|
||||
user=$(git config --global user.email)
|
||||
user=$(git config user.email)
|
||||
test -z "$user" && abort "git config user.email required"
|
||||
|
||||
# branch
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "GIT\-PULL\-REQUEST" "1" "July 2016" "" ""
|
||||
.TH "GIT\-PULL\-REQUEST" "1" "August 2016" "" "Git Extras"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBgit\-pull\-request\fR \- Create pull request for GitHub project
|
||||
|
|
@ -12,6 +12,9 @@
|
|||
.SH "DESCRIPTION"
|
||||
Create pull request for a project on GitHub via commandline\.
|
||||
.
|
||||
.P
|
||||
Uses the email from \fBgit config user\.email\fR to open the pull request\.
|
||||
.
|
||||
.SH "OPTIONS"
|
||||
<target branch>
|
||||
.
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
|
||||
<ol class='man-decor man-head man head'>
|
||||
<li class='tl'>git-pull-request(1)</li>
|
||||
<li class='tc'></li>
|
||||
<li class='tc'>Git Extras</li>
|
||||
<li class='tr'>git-pull-request(1)</li>
|
||||
</ol>
|
||||
|
||||
|
|
@ -82,6 +82,8 @@
|
|||
|
||||
<p>Create pull request for a project on GitHub via commandline.</p>
|
||||
|
||||
<p>Uses the email from <code>git config user.email</code> to open the pull request.</p>
|
||||
|
||||
<h2 id="OPTIONS">OPTIONS</h2>
|
||||
|
||||
<p><target branch></p>
|
||||
|
|
@ -105,7 +107,7 @@ Enter host password for user 'spacewanderlzx@gmail.com':
|
|||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Tj Holowaychuk <<a href="mailto:tj@vision-media.ca" data-bare-link="true">tj@vision-media.ca</a>></p>
|
||||
<p>Written by Tj Holowaychuk <<a href="mailto:tj@vision-media.ca" data-bare-link="true">tj@vision-media.ca</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
@ -118,7 +120,7 @@ Enter host password for user 'spacewanderlzx@gmail.com':
|
|||
|
||||
<ol class='man-decor man-foot man foot'>
|
||||
<li class='tl'></li>
|
||||
<li class='tc'>July 2016</li>
|
||||
<li class='tc'>August 2016</li>
|
||||
<li class='tr'>git-pull-request(1)</li>
|
||||
</ol>
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ git-pull-request(1) -- Create pull request for GitHub project
|
|||
|
||||
Create pull request for a project on GitHub via commandline.
|
||||
|
||||
Uses the email from `git config user.email` to open the pull request.
|
||||
|
||||
## OPTIONS
|
||||
|
||||
<target branch>
|
||||
|
|
|
|||
Loading…
Reference in a new issue