Merge pull request #843 from spacewander/remove_git_feature

break change: remove docs and other stuff of git-feature's alias
This commit is contained in:
罗泽轩 2020-05-31 11:10:57 +08:00 committed by GitHub
commit d4ff718ac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 21 additions and 881 deletions

View file

@ -4,11 +4,9 @@
- [`git authors`](#git-authors)
- [`git back`](#git-back)
- [`git browse`](#git-browse)
- [`git bug`](#git-featurerefactorbugchore)
- [`git bulk`](#git-bulk)
- [`git brv`](#git-brv)
- [`git changelog`](#git-changelog)
- [`git chore`](#git-featurerefactorbugchore)
- [`git clear`](#git-clear)
- [`git clear-soft`](#git-clear-soft)
- [`git coauthor`](#git-coauthor)
@ -48,7 +46,6 @@
- [`git pull-request`](#git-pull-request)
- [`git reauthor`](#git-reauthor)
- [`git rebase-patch`](#git-rebase-patch)
- [`git refactor`](#git-featurerefactorbugchore)
- [`git release`](#git-release)
- [`git rename-branch`](#git-rename-branch)
- [`git rename-tag`](#git-rename-tag)

View file

@ -1,9 +1,5 @@
# bash completion support for git-extras.
_git_bug(){
__git_extras_workflow "bug"
}
_git_changelog(){
local s_opts=( '-a' '-l' '-t' '-f' '-s' '-n' '-p' '-x' '-h' '?' )
local l_opts=(
@ -25,10 +21,6 @@ _git_changelog(){
__gitcomp "$merged_opts_str"
}
_git_chore(){
__git_extras_workflow "chore"
}
_git_authors(){
__gitcomp "-l --list --no-email"
}
@ -131,10 +123,6 @@ _git_reauthor(){
__gitcomp "${comp}"
}
_git_refactor(){
__git_extras_workflow "refactor"
}
_git_scp(){
__git_complete_remote_or_refspec
}

View file

@ -80,22 +80,10 @@ __gitex_specific_branch_names() {
_wanted branch-names expl branch-name compadd - $branch_names
}
__gitex_chore_branch_names() {
__gitex_specific_branch_names 'chore'
}
__gitex_feature_branch_names() {
__gitex_specific_branch_names 'feature'
}
__gitex_refactor_branch_names() {
__gitex_specific_branch_names 'refactor'
}
__gitex_bug_branch_names() {
__gitex_specific_branch_names 'bug'
}
__gitex_submodule_names() {
local expl
declare -a submodule_names
@ -120,84 +108,11 @@ _git-authors() {
'--no-email[without email]' \
}
_git-bug() {
local curcontext=$curcontext state line ret=1
declare -A opt_args
_arguments -C \
': :->command' \
'*:: :->option-or-argument' && ret=0
case $state in
(command)
declare -a commands
commands=(
'finish:merge bug into the current branch'
)
_describe -t commands command commands && ret=0
;;
(option-or-argument)
curcontext=${curcontext%:*}-$line[1]:
case $line[1] in
(finish)
_arguments -C \
'--squash[Use squash merge]' \
':branch-name:__gitex_bug_branch_names'
;;
-r|--remote )
_arguments -C \
':remote-name:__gitex_remote_names'
;;
esac
return 0
esac
_arguments \
'(--remote -r)'{--remote,-r}'[setup remote tracking branch]'
}
_git-changelog() {
_arguments \
'(-l --list)'{-l,--list}'[list commits]' \
}
_git-chore() {
local curcontext=$curcontext state line ret=1
declare -A opt_args
_arguments -C \
': :->command' \
'*:: :->option-or-argument' && ret=0
case $state in
(command)
declare -a commands
commands=(
'finish:merge and delete the chore branch'
)
_describe -t commands command commands && ret=0
;;
(option-or-argument)
curcontext=${curcontext%:*}-$line[1]:
case $line[1] in
(finish)
_arguments -C \
'--squash[Use squash merge]' \
':branch-name:__gitex_chore_branch_names'
;;
-r|--remote )
_arguments -C \
':remote-name:__gitex_remote_names'
;;
esac
return 0
esac
_arguments \
'(--remote -r)'{--remote,-r}'[setup remote tracking branch]'
}
_git-coauthor() {
_arguments \
':co-author[co-author to add]' \
@ -365,44 +280,6 @@ _git-missing() {
':second-branch-name:__gitex_branch_names'
}
_git-refactor() {
local curcontext=$curcontext state line ret=1
declare -A opt_args
_arguments -C \
': :->command' \
'*:: :->option-or-argument' && ret=0
case $state in
(command)
declare -a commands
commands=(
'finish:merge refactor into the current branch'
)
_describe -t commands command commands && ret=0
;;
(option-or-argument)
curcontext=${curcontext%:*}-$line[1]:
case $line[1] in
(finish)
_arguments -C \
'--squash[Use squash merge]' \
':branch-name:__gitex_refactor_branch_names'
;;
-r|--remote )
_arguments -C \
':remote-name:__gitex_remote_names'
;;
esac
return 0
esac
_arguments \
'(--remote -r)'{--remote,-r}'[setup remote tracking branch]'
}
_git-squash() {
_arguments '--squash-msg[commit with the squashed commit messages]'
_arguments \

View file

@ -1,61 +0,0 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-BUG" "1" "October 2017" "" "Git Extras"
.
.SH "NAME"
\fBgit\-bug\fR \- Create bug branch
.
.SH "SYNOPSIS"
\fBgit\-bug\fR [\-r|\-\-remote [remote_name]] [finish] <name>
.
.SH "DESCRIPTION"
Create the given bug branch
.
.SH "OPTIONS"
<\-r|\-\-remote [remote_name]>
.
.P
Setup a remote tracking branch using \fBremote_name\fR\. If \fBremote_name\fR is not supplied, use \fBorigin\fR by default\.
.
.P
<finish>
.
.P
Merge and delete the bug branch\.
.
.P
<\-r
.
.P
<name>
.
.P
The name of the bug branch\.
.
.SH "EXAMPLES"
.
.nf
$ git bug bug\-123456
\.\.\.
$ git commit \-m "Some changes"
\.\.\.
$ git checkout master
$ git bug finish bug\-123456
$ git bug \-r 12345
.
.fi
.
.SH "AUTHOR"
Written by Jesús Espino <\fIjespinog@gmail\.com\fR>
.
.br
Modified by Mark Pitman <\fImark\.pitman@gmail\.com\fR>
.
.SH "REPORTING BUGS"
<\fIhttps://github\.com/tj/git\-extras/issues\fR>
.
.SH "SEE ALSO"
<\fIhttps://github\.com/tj/git\-extras\fR>

View file

@ -1,135 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='content-type' value='text/html;charset=utf8'>
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
<title>git-bug(1) - Create bug branch</title>
<style type='text/css' media='all'>
/* style: man */
body#manpage {margin:0}
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
.mp h2 {margin:10px 0 0 0}
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
.mp h3 {margin:0 0 0 4ex}
.mp dt {margin:0;clear:left}
.mp dt.flush {float:left;width:8ex}
.mp dd {margin:0 0 0 9ex}
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
.mp pre {margin-bottom:20px}
.mp pre+h2,.mp pre+h3 {margin-top:22px}
.mp h2+pre,.mp h3+pre {margin-top:5px}
.mp img {display:block;margin:auto}
.mp h1.man-title {display:none}
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
.mp h2 {font-size:16px;line-height:1.25}
.mp h1 {font-size:20px;line-height:2}
.mp {text-align:justify;background:#fff}
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
.mp u {text-decoration:underline}
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
.mp b.man-ref {font-weight:normal;color:#434241}
.mp pre {padding:0 4ex}
.mp pre code {font-weight:normal;color:#434241}
.mp h2+pre,h3+pre {padding-left:0}
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
ol.man-decor {width:100%}
ol.man-decor li.tl {text-align:left}
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
ol.man-decor li.tr {text-align:right;float:right}
</style>
</head>
<!--
The following styles are deprecated and will be removed at some point:
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
.man-navigation should be used instead.
-->
<body id='manpage'>
<div class='mp' id='man'>
<div class='man-navigation' style='display:none'>
<a href="#NAME">NAME</a>
<a href="#SYNOPSIS">SYNOPSIS</a>
<a href="#DESCRIPTION">DESCRIPTION</a>
<a href="#OPTIONS">OPTIONS</a>
<a href="#EXAMPLES">EXAMPLES</a>
<a href="#AUTHOR">AUTHOR</a>
<a href="#REPORTING-BUGS">REPORTING BUGS</a>
<a href="#SEE-ALSO">SEE ALSO</a>
</div>
<ol class='man-decor man-head man head'>
<li class='tl'>git-bug(1)</li>
<li class='tc'>Git Extras</li>
<li class='tr'>git-bug(1)</li>
</ol>
<h2 id="NAME">NAME</h2>
<p class="man-name">
<code>git-bug</code> - <span class="man-whatis">Create bug branch</span>
</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<p><code>git-bug</code> [-r|--remote [remote_name]] [finish] &lt;name&gt;</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p> Create the given bug branch</p>
<h2 id="OPTIONS">OPTIONS</h2>
<p> &lt;-r|--remote [remote_name]&gt;</p>
<p> Setup a remote tracking branch using <code>remote_name</code>. If <code>remote_name</code> is not supplied, use <code>origin</code> by default.</p>
<p> &lt;finish&gt;</p>
<p> Merge and delete the bug branch.</p>
<p> &lt;-r</p>
<p> &lt;name&gt;</p>
<p> The name of the bug branch.</p>
<h2 id="EXAMPLES">EXAMPLES</h2>
<pre><code>$ git bug bug-123456
...
$ git commit -m "Some changes"
...
$ git checkout master
$ git bug finish bug-123456
$ git bug -r 12345
</code></pre>
<h2 id="AUTHOR">AUTHOR</h2>
<p>Written by Jesús Espino &lt;<a href="&#109;&#x61;&#x69;&#x6c;&#116;&#x6f;&#x3a;&#106;&#x65;&#115;&#x70;&#105;&#x6e;&#111;&#103;&#64;&#103;&#x6d;&#97;&#x69;&#x6c;&#46;&#x63;&#111;&#x6d;" data-bare-link="true">&#106;&#101;&#x73;&#112;&#x69;&#x6e;&#111;&#103;&#x40;&#103;&#109;&#97;&#x69;&#108;&#x2e;&#x63;&#x6f;&#109;</a>&gt;<br />
Modified by Mark Pitman &lt;<a href="&#x6d;&#x61;&#105;&#x6c;&#x74;&#111;&#58;&#x6d;&#x61;&#114;&#107;&#x2e;&#x70;&#105;&#116;&#x6d;&#97;&#x6e;&#64;&#x67;&#x6d;&#x61;&#x69;&#x6c;&#x2e;&#99;&#x6f;&#x6d;" data-bare-link="true">&#109;&#97;&#x72;&#x6b;&#46;&#x70;&#105;&#x74;&#x6d;&#97;&#110;&#64;&#103;&#x6d;&#97;&#105;&#x6c;&#46;&#x63;&#111;&#x6d;</a>&gt;</p>
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
<p>&lt;<a href="https://github.com/tj/git-extras/issues" data-bare-link="true">https://github.com/tj/git-extras/issues</a>&gt;</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<p>&lt;<a href="https://github.com/tj/git-extras" data-bare-link="true">https://github.com/tj/git-extras</a>&gt;</p>
<ol class='man-decor man-foot man foot'>
<li class='tl'></li>
<li class='tc'>October 2017</li>
<li class='tr'>git-bug(1)</li>
</ol>
</div>
</body>
</html>

View file

@ -1,50 +0,0 @@
git-bug(1) -- Create bug branch
===============================
## SYNOPSIS
`git-bug` [-r|--remote [remote_name]] [finish] &lt;name&gt;
## DESCRIPTION
Create the given bug branch
## OPTIONS
&lt;-r|--remote [remote_name]&gt;
Setup a remote tracking branch using `remote_name`. If `remote_name` is not supplied, use `origin` by default.
&lt;finish&gt;
Merge and delete the bug branch.
&lt;-r
&lt;name&gt;
The name of the bug branch.
## EXAMPLES
$ git bug bug-123456
...
$ git commit -m "Some changes"
...
$ git checkout master
$ git bug finish bug-123456
$ git bug -r 12345
## AUTHOR
Written by Jesús Espino &lt;<jespinog@gmail.com>&gt;
Modified by Mark Pitman &lt;<mark.pitman@gmail.com>&gt;
## REPORTING BUGS
&lt;<https://github.com/tj/git-extras/issues>&gt;
## SEE ALSO
&lt;<https://github.com/tj/git-extras>&gt;

View file

@ -1,58 +0,0 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-CHORE" "1" "October 2017" "" "Git Extras"
.
.SH "NAME"
\fBgit\-chore\fR \- Create chore branch
.
.SH "SYNOPSIS"
\fBgit\-chore\fR [\-r|\-\-remote [remote_name]] [finish] <name>
.
.SH "DESCRIPTION"
Create the given chore branch
.
.SH "OPTIONS"
<\-r|\-\-remote [remote_name]>
.
.P
Setup a remote tracking branch using \fBremote_name\fR\. If \fBremote_name\fR is not supplied, use \fBorigin\fR by default\.
.
.P
<finish>
.
.P
Merge and delete the chore branch\.
.
.P
<name>
.
.P
The name of the chore branch\.
.
.SH "EXAMPLES"
.
.nf
$ git chore chore\-123456
\.\.\.
$ git commit \-m "Some changes"
\.\.\.
$ git checkout master
$ git chore finish chore\-123456
$ git chore \-r upstream 123456
.
.fi
.
.SH "AUTHOR"
Written by Chris Hall <\fIchristopher\.k\.hall@gmail\.com\fR> from bug/feature/refactor commands originally written by Jesús Espino <\fIjespinog@gmail\.com\fR>
.
.br
Modified by Mark Pitman <\fImark\.pitman@gmail\.com\fR>
.
.SH "REPORTING BUGS"
<\fIhttps://github\.com/tj/git\-extras/issues\fR>
.
.SH "SEE ALSO"
<\fIhttps://github\.com/tj/git\-extras\fR>

View file

@ -1,133 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='content-type' value='text/html;charset=utf8'>
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
<title>git-chore(1) - Create chore branch</title>
<style type='text/css' media='all'>
/* style: man */
body#manpage {margin:0}
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
.mp h2 {margin:10px 0 0 0}
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
.mp h3 {margin:0 0 0 4ex}
.mp dt {margin:0;clear:left}
.mp dt.flush {float:left;width:8ex}
.mp dd {margin:0 0 0 9ex}
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
.mp pre {margin-bottom:20px}
.mp pre+h2,.mp pre+h3 {margin-top:22px}
.mp h2+pre,.mp h3+pre {margin-top:5px}
.mp img {display:block;margin:auto}
.mp h1.man-title {display:none}
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
.mp h2 {font-size:16px;line-height:1.25}
.mp h1 {font-size:20px;line-height:2}
.mp {text-align:justify;background:#fff}
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
.mp u {text-decoration:underline}
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
.mp b.man-ref {font-weight:normal;color:#434241}
.mp pre {padding:0 4ex}
.mp pre code {font-weight:normal;color:#434241}
.mp h2+pre,h3+pre {padding-left:0}
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
ol.man-decor {width:100%}
ol.man-decor li.tl {text-align:left}
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
ol.man-decor li.tr {text-align:right;float:right}
</style>
</head>
<!--
The following styles are deprecated and will be removed at some point:
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
.man-navigation should be used instead.
-->
<body id='manpage'>
<div class='mp' id='man'>
<div class='man-navigation' style='display:none'>
<a href="#NAME">NAME</a>
<a href="#SYNOPSIS">SYNOPSIS</a>
<a href="#DESCRIPTION">DESCRIPTION</a>
<a href="#OPTIONS">OPTIONS</a>
<a href="#EXAMPLES">EXAMPLES</a>
<a href="#AUTHOR">AUTHOR</a>
<a href="#REPORTING-BUGS">REPORTING BUGS</a>
<a href="#SEE-ALSO">SEE ALSO</a>
</div>
<ol class='man-decor man-head man head'>
<li class='tl'>git-chore(1)</li>
<li class='tc'>Git Extras</li>
<li class='tr'>git-chore(1)</li>
</ol>
<h2 id="NAME">NAME</h2>
<p class="man-name">
<code>git-chore</code> - <span class="man-whatis">Create chore branch</span>
</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<p><code>git-chore</code> [-r|--remote [remote_name]] [finish] &lt;name&gt;</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p> Create the given chore branch</p>
<h2 id="OPTIONS">OPTIONS</h2>
<p> &lt;-r|--remote [remote_name]&gt;</p>
<p> Setup a remote tracking branch using <code>remote_name</code>. If <code>remote_name</code> is not supplied, use <code>origin</code> by default.</p>
<p> &lt;finish&gt;</p>
<p> Merge and delete the chore branch.</p>
<p> &lt;name&gt;</p>
<p> The name of the chore branch.</p>
<h2 id="EXAMPLES">EXAMPLES</h2>
<pre><code>$ git chore chore-123456
...
$ git commit -m "Some changes"
...
$ git checkout master
$ git chore finish chore-123456
$ git chore -r upstream 123456
</code></pre>
<h2 id="AUTHOR">AUTHOR</h2>
<p>Written by Chris Hall &lt;<a href="&#x6d;&#97;&#105;&#x6c;&#116;&#x6f;&#58;&#x63;&#x68;&#114;&#x69;&#115;&#x74;&#111;&#112;&#x68;&#x65;&#x72;&#46;&#107;&#46;&#104;&#97;&#108;&#108;&#x40;&#103;&#109;&#x61;&#105;&#x6c;&#46;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#x63;&#104;&#114;&#105;&#x73;&#116;&#x6f;&#x70;&#104;&#101;&#114;&#x2e;&#x6b;&#x2e;&#104;&#x61;&#x6c;&#108;&#x40;&#x67;&#109;&#x61;&#105;&#x6c;&#46;&#99;&#111;&#109;</a>&gt; from bug/feature/refactor commands originally written by Jesús Espino &lt;<a href="&#x6d;&#x61;&#105;&#x6c;&#x74;&#111;&#x3a;&#106;&#101;&#x73;&#112;&#105;&#x6e;&#111;&#103;&#64;&#x67;&#109;&#97;&#x69;&#108;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#106;&#101;&#115;&#x70;&#105;&#x6e;&#111;&#x67;&#x40;&#x67;&#109;&#x61;&#x69;&#108;&#x2e;&#99;&#111;&#109;</a>&gt;<br />
Modified by Mark Pitman &lt;<a href="&#x6d;&#97;&#105;&#x6c;&#116;&#111;&#x3a;&#x6d;&#97;&#x72;&#x6b;&#x2e;&#x70;&#105;&#x74;&#109;&#x61;&#x6e;&#x40;&#x67;&#109;&#97;&#x69;&#108;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#109;&#x61;&#114;&#x6b;&#46;&#112;&#105;&#116;&#109;&#97;&#x6e;&#x40;&#x67;&#109;&#97;&#105;&#108;&#46;&#99;&#x6f;&#x6d;</a>&gt;</p>
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
<p>&lt;<a href="https://github.com/tj/git-extras/issues" data-bare-link="true">https://github.com/tj/git-extras/issues</a>&gt;</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<p>&lt;<a href="https://github.com/tj/git-extras" data-bare-link="true">https://github.com/tj/git-extras</a>&gt;</p>
<ol class='man-decor man-foot man foot'>
<li class='tl'></li>
<li class='tc'>October 2017</li>
<li class='tr'>git-chore(1)</li>
</ol>
</div>
</body>
</html>

View file

@ -1,48 +0,0 @@
git-chore(1) -- Create chore branch
===============================
## SYNOPSIS
`git-chore` [-r|--remote [remote_name]] [finish] &lt;name&gt;
## DESCRIPTION
Create the given chore branch
## OPTIONS
&lt;-r|--remote [remote_name]&gt;
Setup a remote tracking branch using `remote_name`. If `remote_name` is not supplied, use `origin` by default.
&lt;finish&gt;
Merge and delete the chore branch.
&lt;name&gt;
The name of the chore branch.
## EXAMPLES
$ git chore chore-123456
...
$ git commit -m "Some changes"
...
$ git checkout master
$ git chore finish chore-123456
$ git chore -r upstream 123456
## AUTHOR
Written by Chris Hall &lt;<christopher.k.hall@gmail.com>&gt; from bug/feature/refactor commands originally written by Jesús Espino &lt;<jespinog@gmail.com>&gt;
Modified by Mark Pitman &lt;<mark.pitman@gmail.com>&gt;
## REPORTING BUGS
&lt;<https://github.com/tj/git-extras/issues>&gt;
## SEE ALSO
&lt;<https://github.com/tj/git-extras>&gt;

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-EXTRAS" "1" "July 2019" "" "Git Extras"
.TH "GIT\-EXTRAS" "1" "May 2020" "" "Git Extras"
.
.SH "NAME"
\fBgit\-extras\fR \- Awesome GIT utilities
@ -42,7 +42,10 @@ Self update\.
\fBgit\-back(1)\fR Undo and Stage latest commits
.
.IP "\(bu" 4
\fBgit\-bug(1)\fR Create bug branch
\fBgit\-browse(1)\fR \fIView the web page for the current repository\fR
.
.IP "\(bu" 4
\fBgit\-brv(1)\fR List branches sorted by their last commit date
.
.IP "\(bu" 4
\fBgit\-bulk(1)\fR Run git commands on multiple repositories
@ -51,15 +54,15 @@ Self update\.
\fBgit\-changelog(1)\fR Generate a changelog report
.
.IP "\(bu" 4
\fBgit\-chore(1)\fR Create chore branch
.
.IP "\(bu" 4
\fBgit\-clear\-soft(1)\fR Soft clean up a repository
.
.IP "\(bu" 4
\fBgit\-clear(1)\fR Rigorously clean up a repository
.
.IP "\(bu" 4
\fBgit\-coauthor(1)\fR Add a co\-author to the last commit
.
.IP "\(bu" 4
\fBgit\-commits\-since(1)\fR Show commit logs since some date
.
.IP "\(bu" 4
@ -69,6 +72,9 @@ Self update\.
\fBgit\-count(1)\fR Show commit count
.
.IP "\(bu" 4
\fBgit\-cp(1)\fR Copy a file keeping its history
.
.IP "\(bu" 4
\fBgit\-create\-branch(1)\fR Create branches
.
.IP "\(bu" 4
@ -144,6 +150,9 @@ Self update\.
\fBgit\-obliterate(1)\fR rewrite past commits to remove some files
.
.IP "\(bu" 4
\fBgit\-paste(1)\fR Send patches to pastebin for chat conversations
.
.IP "\(bu" 4
\fBgit\-pr(1)\fR Checks out a pull request locally
.
.IP "\(bu" 4
@ -159,9 +168,6 @@ Self update\.
\fBgit\-rebase\-patch(1)\fR Rebases a patch
.
.IP "\(bu" 4
\fBgit\-refactor(1)\fR Create refactor branch
.
.IP "\(bu" 4
\fBgit\-release(1)\fR Commit, tag and push changes to the repository
.
.IP "\(bu" 4

View file

@ -98,15 +98,17 @@
<li> <strong><a class="man-ref" href="git-archive-file.html">git-archive-file<span class="s">(1)</span></a></strong> Export the current HEAD of the git repository to an archive</li>
<li> <strong><a class="man-ref" href="git-authors.html">git-authors<span class="s">(1)</span></a></strong> Generate authors report</li>
<li> <strong><a class="man-ref" href="git-back.html">git-back<span class="s">(1)</span></a></strong> Undo and Stage latest commits</li>
<li> <strong><a class="man-ref" href="git-bug.html">git-bug<span class="s">(1)</span></a></strong> Create bug branch</li>
<li> <strong><a class="man-ref" href="git-browse.html">git-browse<span class="s">(1)</span></a></strong> <var>View the web page for the current repository</var></li>
<li> <strong><a class="man-ref" href="git-brv.html">git-brv<span class="s">(1)</span></a></strong> List branches sorted by their last commit date</li>
<li> <strong><a class="man-ref" href="git-bulk.html">git-bulk<span class="s">(1)</span></a></strong> Run git commands on multiple repositories</li>
<li> <strong><a class="man-ref" href="git-changelog.html">git-changelog<span class="s">(1)</span></a></strong> Generate a changelog report</li>
<li> <strong><a class="man-ref" href="git-chore.html">git-chore<span class="s">(1)</span></a></strong> Create chore branch</li>
<li> <strong><a class="man-ref" href="git-clear-soft.html">git-clear-soft<span class="s">(1)</span></a></strong> Soft clean up a repository</li>
<li> <strong><a class="man-ref" href="git-clear.html">git-clear<span class="s">(1)</span></a></strong> Rigorously clean up a repository</li>
<li> <strong><a class="man-ref" href="git-coauthor.html">git-coauthor<span class="s">(1)</span></a></strong> Add a co-author to the last commit</li>
<li> <strong><a class="man-ref" href="git-commits-since.html">git-commits-since<span class="s">(1)</span></a></strong> Show commit logs since some date</li>
<li> <strong><a class="man-ref" href="git-contrib.html">git-contrib<span class="s">(1)</span></a></strong> Show user's contributions</li>
<li> <strong><a class="man-ref" href="git-count.html">git-count<span class="s">(1)</span></a></strong> Show commit count</li>
<li> <strong><a class="man-ref" href="git-cp.html">git-cp<span class="s">(1)</span></a></strong> Copy a file keeping its history</li>
<li> <strong><a class="man-ref" href="git-create-branch.html">git-create-branch<span class="s">(1)</span></a></strong> Create branches</li>
<li> <strong><a class="man-ref" href="git-delete-branch.html">git-delete-branch<span class="s">(1)</span></a></strong> Delete branches</li>
<li> <strong><a class="man-ref" href="git-delete-merged-branches.html">git-delete-merged-branches<span class="s">(1)</span></a></strong> Delete merged branches</li>
@ -132,12 +134,12 @@
<li> <strong><a class="man-ref" href="git-missing.html">git-missing<span class="s">(1)</span></a></strong> Show commits missing from another branch</li>
<li> <strong><a class="man-ref" href="git-mr.html">git-mr<span class="s">(1)</span></a></strong> Checks out a merge request locally</li>
<li> <strong><a class="man-ref" href="git-obliterate.html">git-obliterate<span class="s">(1)</span></a></strong> rewrite past commits to remove some files</li>
<li> <strong><a class="man-ref" href="git-paste.html">git-paste<span class="s">(1)</span></a></strong> Send patches to pastebin for chat conversations</li>
<li> <strong><a class="man-ref" href="git-pr.html">git-pr<span class="s">(1)</span></a></strong> Checks out a pull request locally</li>
<li> <strong><a class="man-ref" href="git-psykorebase.html">git-psykorebase<span class="s">(1)</span></a></strong> Rebase a branch with a merge commit</li>
<li> <strong><a class="man-ref" href="git-pull-request.html">git-pull-request<span class="s">(1)</span></a></strong> Create pull request for GitHub project</li>
<li> <strong><a class="man-ref" href="git-reauthor.html">git-reauthor<span class="s">(1)</span></a></strong> Rewrite history to change author's identity</li>
<li> <strong><a class="man-ref" href="git-rebase-patch.html">git-rebase-patch<span class="s">(1)</span></a></strong> Rebases a patch</li>
<li> <strong><a class="man-ref" href="git-refactor.html">git-refactor<span class="s">(1)</span></a></strong> Create refactor branch</li>
<li> <strong><a class="man-ref" href="git-release.html">git-release<span class="s">(1)</span></a></strong> Commit, tag and push changes to the repository</li>
<li> <strong><a class="man-ref" href="git-rename-branch.html">git-rename-branch<span class="s">(1)</span></a></strong> rename local branch and push to remote</li>
<li> <strong><a class="man-ref" href="git-rename-remote.html">git-rename-remote<span class="s">(1)</span></a></strong> Rename a remote</li>
@ -164,7 +166,7 @@
<h2 id="AUTHOR">AUTHOR</h2>
<p>Written by Tj Holowaychuk &lt;<a href="&#x6d;&#97;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#x74;&#x6a;&#x40;&#x76;&#x69;&#115;&#x69;&#111;&#x6e;&#45;&#109;&#x65;&#100;&#x69;&#x61;&#x2e;&#x63;&#x61;" data-bare-link="true">&#x74;&#106;&#64;&#x76;&#x69;&#115;&#105;&#x6f;&#x6e;&#45;&#109;&#x65;&#x64;&#105;&#97;&#46;&#x63;&#x61;</a>&gt;</p>
<p>Written by Tj Holowaychuk &lt;<a href="&#109;&#x61;&#x69;&#108;&#x74;&#111;&#x3a;&#116;&#x6a;&#x40;&#x76;&#105;&#x73;&#105;&#111;&#110;&#x2d;&#109;&#x65;&#100;&#x69;&#97;&#46;&#99;&#97;" data-bare-link="true">&#x74;&#106;&#x40;&#x76;&#105;&#x73;&#x69;&#x6f;&#110;&#x2d;&#x6d;&#101;&#x64;&#x69;&#97;&#46;&#x63;&#97;</a>&gt;</p>
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
@ -177,7 +179,7 @@
<ol class='man-decor man-foot man foot'>
<li class='tl'></li>
<li class='tc'>July 2019</li>
<li class='tc'>May 2020</li>
<li class='tr'>git-extras(1)</li>
</ol>

View file

@ -27,10 +27,8 @@ git-extras(1) -- Awesome GIT utilities
- **git-back(1)** Undo and Stage latest commits
- **git-browse(1)** <View the web page for the current repository>
- **git-brv(1)** List branches sorted by their last commit date
- **git-bug(1)** Create bug branch
- **git-bulk(1)** Run git commands on multiple repositories
- **git-changelog(1)** Generate a changelog report
- **git-chore(1)** Create chore branch
- **git-clear-soft(1)** Soft clean up a repository
- **git-clear(1)** Rigorously clean up a repository
- **git-coauthor(1)** Add a co-author to the last commit
@ -69,7 +67,6 @@ git-extras(1) -- Awesome GIT utilities
- **git-pull-request(1)** Create pull request for GitHub project
- **git-reauthor(1)** Rewrite history to change author's identity
- **git-rebase-patch(1)** Rebases a patch
- **git-refactor(1)** Create refactor branch
- **git-release(1)** Commit, tag and push changes to the repository
- **git-rename-branch(1)** rename local branch and push to remote
- **git-rename-remote(1)** Rename a remote

View file

@ -1,58 +0,0 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-REFACTOR" "1" "May 2018" "" "Git Extras"
.
.SH "NAME"
\fBgit\-refactor\fR \- Create refactor branch
.
.SH "SYNOPSIS"
\fBgit\-refactor\fR [\-r|\-\-remote [remote_name]] [finish] <name>
.
.SH "DESCRIPTION"
Create the given refactor branch
.
.SH "OPTIONS"
<\-r|\-\-remote [remote_name]>
.
.P
Setup a remote tracking branch using \fBremote_name\fR\. If \fBremote_name\fR is not supplied, use \fBorigin\fR by default\.
.
.P
<finish>
.
.P
Merge and delete the refactor branch\.
.
.P
<name>
.
.P
The name of the refactor branch\.
.
.SH "EXAMPLES"
.
.nf
$ git refactor mainlib_refactor
\.\.\.
$ git commit \-m "Some changes"
\.\.\.
$ git checkout master
$ git refactor finish mainlib_refactor
$ $ git refactor \-r upstream mainlib_refactor
.
.fi
.
.SH "AUTHOR"
Written by Jesús Espino <\fIjespinog@gmail\.com\fR>
.
.br
Modified by Mark Pitman <\fImark\.pitman@gmail\.com\fR>
.
.SH "REPORTING BUGS"
<\fIhttps://github\.com/tj/git\-extras/issues\fR>
.
.SH "SEE ALSO"
<\fIhttps://github\.com/tj/git\-extras\fR>

View file

@ -1,133 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='content-type' value='text/html;charset=utf8'>
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
<title>git-refactor(1) - Create refactor branch</title>
<style type='text/css' media='all'>
/* style: man */
body#manpage {margin:0}
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
.mp h2 {margin:10px 0 0 0}
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
.mp h3 {margin:0 0 0 4ex}
.mp dt {margin:0;clear:left}
.mp dt.flush {float:left;width:8ex}
.mp dd {margin:0 0 0 9ex}
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
.mp pre {margin-bottom:20px}
.mp pre+h2,.mp pre+h3 {margin-top:22px}
.mp h2+pre,.mp h3+pre {margin-top:5px}
.mp img {display:block;margin:auto}
.mp h1.man-title {display:none}
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
.mp h2 {font-size:16px;line-height:1.25}
.mp h1 {font-size:20px;line-height:2}
.mp {text-align:justify;background:#fff}
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
.mp u {text-decoration:underline}
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
.mp b.man-ref {font-weight:normal;color:#434241}
.mp pre {padding:0 4ex}
.mp pre code {font-weight:normal;color:#434241}
.mp h2+pre,h3+pre {padding-left:0}
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
ol.man-decor {width:100%}
ol.man-decor li.tl {text-align:left}
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
ol.man-decor li.tr {text-align:right;float:right}
</style>
</head>
<!--
The following styles are deprecated and will be removed at some point:
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
.man-navigation should be used instead.
-->
<body id='manpage'>
<div class='mp' id='man'>
<div class='man-navigation' style='display:none'>
<a href="#NAME">NAME</a>
<a href="#SYNOPSIS">SYNOPSIS</a>
<a href="#DESCRIPTION">DESCRIPTION</a>
<a href="#OPTIONS">OPTIONS</a>
<a href="#EXAMPLES">EXAMPLES</a>
<a href="#AUTHOR">AUTHOR</a>
<a href="#REPORTING-BUGS">REPORTING BUGS</a>
<a href="#SEE-ALSO">SEE ALSO</a>
</div>
<ol class='man-decor man-head man head'>
<li class='tl'>git-refactor(1)</li>
<li class='tc'>Git Extras</li>
<li class='tr'>git-refactor(1)</li>
</ol>
<h2 id="NAME">NAME</h2>
<p class="man-name">
<code>git-refactor</code> - <span class="man-whatis">Create refactor branch</span>
</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<p><code>git-refactor</code> [-r|--remote [remote_name]] [finish] &lt;name&gt;</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p> Create the given refactor branch</p>
<h2 id="OPTIONS">OPTIONS</h2>
<p> &lt;-r|--remote [remote_name]&gt;</p>
<p> Setup a remote tracking branch using <code>remote_name</code>. If <code>remote_name</code> is not supplied, use <code>origin</code> by default.</p>
<p> &lt;finish&gt;</p>
<p> Merge and delete the refactor branch.</p>
<p> &lt;name&gt;</p>
<p> The name of the refactor branch.</p>
<h2 id="EXAMPLES">EXAMPLES</h2>
<pre><code>$ git refactor mainlib_refactor
...
$ git commit -m "Some changes"
...
$ git checkout master
$ git refactor finish mainlib_refactor
$ $ git refactor -r upstream mainlib_refactor
</code></pre>
<h2 id="AUTHOR">AUTHOR</h2>
<p>Written by Jesús Espino &lt;<a href="&#x6d;&#x61;&#x69;&#x6c;&#116;&#111;&#x3a;&#x6a;&#x65;&#115;&#x70;&#x69;&#110;&#111;&#x67;&#64;&#x67;&#109;&#97;&#x69;&#x6c;&#46;&#99;&#x6f;&#x6d;" data-bare-link="true">&#106;&#101;&#x73;&#112;&#105;&#110;&#x6f;&#103;&#x40;&#x67;&#109;&#x61;&#105;&#x6c;&#x2e;&#99;&#x6f;&#109;</a>&gt;<br />
Modified by Mark Pitman &lt;<a href="&#109;&#x61;&#105;&#108;&#116;&#111;&#58;&#x6d;&#97;&#x72;&#x6b;&#x2e;&#112;&#x69;&#116;&#x6d;&#x61;&#110;&#x40;&#x67;&#109;&#x61;&#105;&#x6c;&#46;&#99;&#111;&#x6d;" data-bare-link="true">&#109;&#x61;&#114;&#107;&#46;&#112;&#x69;&#x74;&#109;&#x61;&#110;&#64;&#103;&#109;&#97;&#x69;&#x6c;&#46;&#99;&#x6f;&#109;</a>&gt;</p>
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
<p>&lt;<a href="https://github.com/tj/git-extras/issues" data-bare-link="true">https://github.com/tj/git-extras/issues</a>&gt;</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<p>&lt;<a href="https://github.com/tj/git-extras" data-bare-link="true">https://github.com/tj/git-extras</a>&gt;</p>
<ol class='man-decor man-foot man foot'>
<li class='tl'></li>
<li class='tc'>May 2018</li>
<li class='tr'>git-refactor(1)</li>
</ol>
</div>
</body>
</html>

View file

@ -1,48 +0,0 @@
git-refactor(1) -- Create refactor branch
=========================================
## SYNOPSIS
`git-refactor` [-r|--remote [remote_name]] [finish] &lt;name&gt;
## DESCRIPTION
Create the given refactor branch
## OPTIONS
&lt;-r|--remote [remote_name]&gt;
Setup a remote tracking branch using `remote_name`. If `remote_name` is not supplied, use `origin` by default.
&lt;finish&gt;
Merge and delete the refactor branch.
&lt;name&gt;
The name of the refactor branch.
## EXAMPLES
$ git refactor mainlib_refactor
...
$ git commit -m "Some changes"
...
$ git checkout master
$ git refactor finish mainlib_refactor
$ $ git refactor -r upstream mainlib_refactor
## AUTHOR
Written by Jesús Espino &lt;<jespinog@gmail.com>&gt;
Modified by Mark Pitman &lt;<mark.pitman@gmail.com>&gt;
## REPORTING BUGS
&lt;<https://github.com/tj/git-extras/issues>&gt;
## SEE ALSO
&lt;<https://github.com/tj/git-extras>&gt;

View file

@ -5,10 +5,8 @@ git-authors(1) git-authors
git-back(1) git-back
git-browse(1) git-browse
git-brv(1) git-brv
git-bug(1) git-bug
git-bulk(1) git-bulk
git-changelog(1) git-changelog
git-chore(1) git-chore
git-clear-soft(1) git-clear-soft
git-clear(1) git-clear
git-coauthor(1) git-coauthor
@ -48,7 +46,6 @@ git-psykorebase(1) git-psykorebase
git-pull-request(1) git-pull-request
git-reauthor(1) git-reauthor
git-rebase-patch(1) git-rebase-patch
git-refactor(1) git-refactor
git-release(1) git-release
git-rename-branch(1) git-rename-branch
git-rename-remote(1) git-rename-remote