mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
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:
commit
d4ff718ac3
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
135
man/git-bug.html
135
man/git-bug.html
|
|
@ -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] <name></p>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
<p> Create the given bug branch</p>
|
||||
|
||||
<h2 id="OPTIONS">OPTIONS</h2>
|
||||
|
||||
<p> <-r|--remote [remote_name]></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> <finish></p>
|
||||
|
||||
<p> Merge and delete the bug branch.</p>
|
||||
|
||||
<p> <-r</p>
|
||||
|
||||
<p> <name></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 <<a href="mailto:jespinog@gmail.com" data-bare-link="true">jespinog@gmail.com</a>><br />
|
||||
Modified by Mark Pitman <<a href="mailto:mark.pitman@gmail.com" data-bare-link="true">mark.pitman@gmail.com</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
<p><<a href="https://github.com/tj/git-extras/issues" data-bare-link="true">https://github.com/tj/git-extras/issues</a>></p>
|
||||
|
||||
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
||||
|
||||
<p><<a href="https://github.com/tj/git-extras" data-bare-link="true">https://github.com/tj/git-extras</a>></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>
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
git-bug(1) -- Create bug branch
|
||||
===============================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
`git-bug` [-r|--remote [remote_name]] [finish] <name>
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Create the given bug branch
|
||||
|
||||
## OPTIONS
|
||||
|
||||
<-r|--remote [remote_name]>
|
||||
|
||||
Setup a remote tracking branch using `remote_name`. If `remote_name` is not supplied, use `origin` by default.
|
||||
|
||||
<finish>
|
||||
|
||||
Merge and delete the bug branch.
|
||||
|
||||
<-r
|
||||
|
||||
<name>
|
||||
|
||||
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 <<jespinog@gmail.com>>
|
||||
Modified by Mark Pitman <<mark.pitman@gmail.com>>
|
||||
|
||||
## REPORTING BUGS
|
||||
|
||||
<<https://github.com/tj/git-extras/issues>>
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
<<https://github.com/tj/git-extras>>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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] <name></p>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
<p> Create the given chore branch</p>
|
||||
|
||||
<h2 id="OPTIONS">OPTIONS</h2>
|
||||
|
||||
<p> <-r|--remote [remote_name]></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> <finish></p>
|
||||
|
||||
<p> Merge and delete the chore branch.</p>
|
||||
|
||||
<p> <name></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 <<a href="mailto:christopher.k.hall@gmail.com" data-bare-link="true">christopher.k.hall@gmail.com</a>> from bug/feature/refactor commands originally written by Jesús Espino <<a href="mailto:jespinog@gmail.com" data-bare-link="true">jespinog@gmail.com</a>><br />
|
||||
Modified by Mark Pitman <<a href="mailto:mark.pitman@gmail.com" data-bare-link="true">mark.pitman@gmail.com</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
<p><<a href="https://github.com/tj/git-extras/issues" data-bare-link="true">https://github.com/tj/git-extras/issues</a>></p>
|
||||
|
||||
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
||||
|
||||
<p><<a href="https://github.com/tj/git-extras" data-bare-link="true">https://github.com/tj/git-extras</a>></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>
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
git-chore(1) -- Create chore branch
|
||||
===============================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
`git-chore` [-r|--remote [remote_name]] [finish] <name>
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Create the given chore branch
|
||||
|
||||
## OPTIONS
|
||||
|
||||
<-r|--remote [remote_name]>
|
||||
|
||||
Setup a remote tracking branch using `remote_name`. If `remote_name` is not supplied, use `origin` by default.
|
||||
|
||||
<finish>
|
||||
|
||||
Merge and delete the chore branch.
|
||||
|
||||
<name>
|
||||
|
||||
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 <<christopher.k.hall@gmail.com>> from bug/feature/refactor commands originally written by Jesús Espino <<jespinog@gmail.com>>
|
||||
Modified by Mark Pitman <<mark.pitman@gmail.com>>
|
||||
|
||||
## REPORTING BUGS
|
||||
|
||||
<<https://github.com/tj/git-extras/issues>>
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
<<https://github.com/tj/git-extras>>
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 <<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>
|
||||
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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] <name></p>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
<p> Create the given refactor branch</p>
|
||||
|
||||
<h2 id="OPTIONS">OPTIONS</h2>
|
||||
|
||||
<p> <-r|--remote [remote_name]></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> <finish></p>
|
||||
|
||||
<p> Merge and delete the refactor branch.</p>
|
||||
|
||||
<p> <name></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 <<a href="mailto:jespinog@gmail.com" data-bare-link="true">jespinog@gmail.com</a>><br />
|
||||
Modified by Mark Pitman <<a href="mailto:mark.pitman@gmail.com" data-bare-link="true">mark.pitman@gmail.com</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
<p><<a href="https://github.com/tj/git-extras/issues" data-bare-link="true">https://github.com/tj/git-extras/issues</a>></p>
|
||||
|
||||
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
||||
|
||||
<p><<a href="https://github.com/tj/git-extras" data-bare-link="true">https://github.com/tj/git-extras</a>></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>
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
git-refactor(1) -- Create refactor branch
|
||||
=========================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
`git-refactor` [-r|--remote [remote_name]] [finish] <name>
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Create the given refactor branch
|
||||
|
||||
## OPTIONS
|
||||
|
||||
<-r|--remote [remote_name]>
|
||||
|
||||
Setup a remote tracking branch using `remote_name`. If `remote_name` is not supplied, use `origin` by default.
|
||||
|
||||
<finish>
|
||||
|
||||
Merge and delete the refactor branch.
|
||||
|
||||
<name>
|
||||
|
||||
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 <<jespinog@gmail.com>>
|
||||
Modified by Mark Pitman <<mark.pitman@gmail.com>>
|
||||
|
||||
## REPORTING BUGS
|
||||
|
||||
<<https://github.com/tj/git-extras/issues>>
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
<<https://github.com/tj/git-extras>>
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue