git-scripts 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/feature +28 -14
- data/bin/hotfix +24 -19
- data/lib/git.rb +11 -11
- data/lib/github.rb +36 -8
- data/lib/helpers.rb +2 -2
- data/man/feature-clean.1 +1 -1
- data/man/feature-clean.1.html +120 -0
- data/man/feature-clean.1.markdown +61 -0
- data/man/feature-finish-issue.1 +1 -1
- data/man/feature-finish-issue.1.html +113 -0
- data/man/feature-finish-issue.1.markdown +56 -0
- data/man/feature-finish.1 +1 -1
- data/man/feature-finish.1.html +9 -3
- data/man/feature-finish.1.markdown +56 -0
- data/man/feature-github-test.1 +1 -1
- data/man/{feature-url.1.html → feature-github-test.1.html} +15 -9
- data/man/feature-github-test.1.markdown +53 -0
- data/man/feature-list.1 +1 -1
- data/man/feature-list.1.html +8 -2
- data/man/feature-list.1.markdown +60 -0
- data/man/feature-merge.1 +2 -2
- data/man/feature-merge.1.html +7 -1
- data/man/feature-merge.1.markdown +59 -0
- data/man/feature-merge.1.ronn +1 -0
- data/man/feature-prune.1 +1 -1
- data/man/feature-prune.1.html +116 -0
- data/man/feature-prune.1.markdown +60 -0
- data/man/feature-start.1 +1 -1
- data/man/feature-start.1.html +110 -0
- data/man/feature-start.1.markdown +53 -0
- data/man/feature-stashes.1 +1 -1
- data/man/feature-stashes.1.html +122 -0
- data/man/feature-stashes.1.markdown +63 -0
- data/man/feature-status.1 +1 -1
- data/man/feature-status.1.html +113 -0
- data/man/feature-status.1.markdown +56 -0
- data/man/feature-switch.1 +1 -1
- data/man/feature-switch.1.html +8 -2
- data/man/feature-switch.1.markdown +61 -0
- data/man/feature.1 +1 -1
- data/man/feature.1.html +8 -3
- data/man/feature.1.markdown +80 -0
- data/man/hotfix-finish-issue.1 +1 -1
- data/man/hotfix-finish-issue.1.html +113 -0
- data/man/hotfix-finish-issue.1.markdown +56 -0
- data/man/hotfix-finish.1 +1 -1
- data/man/hotfix-finish.1.html +112 -0
- data/man/hotfix-finish.1.markdown +55 -0
- data/man/hotfix-list.1 +1 -1
- data/man/hotfix-list.1.html +8 -2
- data/man/hotfix-list.1.markdown +60 -0
- data/man/hotfix-merge.1 +2 -2
- data/man/hotfix-merge.1.html +7 -1
- data/man/hotfix-merge.1.markdown +59 -0
- data/man/hotfix-merge.1.ronn +1 -0
- data/man/hotfix-start.1 +1 -1
- data/man/{hotfix-url.1.html → hotfix-start.1.html} +15 -9
- data/man/hotfix-start.1.markdown +53 -0
- data/man/hotfix-switch.1 +1 -1
- data/man/hotfix-switch.1.html +112 -0
- data/man/hotfix-switch.1.markdown +55 -0
- data/man/hotfix.1 +1 -1
- data/man/hotfix.1.html +7 -2
- data/man/hotfix.1.markdown +68 -0
- metadata +84 -64
@@ -0,0 +1,55 @@
|
|
1
|
+
hotfix-switch(1) - Switch to another hotfix branch.
|
2
|
+
===================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`hotfix switch` <var>name-of-hotfix</var>
|
7
|
+
`hotfix switch` -n <var>number-of-pull</var>
|
8
|
+
|
9
|
+
## DESCRIPTION
|
10
|
+
|
11
|
+
Switch to the <var>name-of-hotfix</var> branch, or with the -n argument switch
|
12
|
+
to the branch with a pull request numbered <var>number-of-pull</var>
|
13
|
+
|
14
|
+
## COPYRIGHT
|
15
|
+
|
16
|
+
Copyright (c) 2012-2013 iFixit.
|
17
|
+
|
18
|
+
## SEE ALSO
|
19
|
+
|
20
|
+
hotfix(1), feature-switch(1)
|
21
|
+
|
22
|
+
## WWW
|
23
|
+
|
24
|
+
https://github.com/iFixit/git-scripts
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
[SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
|
29
|
+
[DESCRIPTION]: #DESCRIPTION "DESCRIPTION"
|
30
|
+
[COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
|
31
|
+
[SEE ALSO]: #SEE-ALSO "SEE ALSO"
|
32
|
+
[WWW]: #WWW "WWW"
|
33
|
+
|
34
|
+
|
35
|
+
[feature(1)]: feature.1.html
|
36
|
+
[feature-list(1)]: feature-list.1.html
|
37
|
+
[feature-start(1)]: feature-start.1.html
|
38
|
+
[feature-switch(1)]: feature-switch.1.html
|
39
|
+
[feature-finish(1)]: feature-finish.1.html
|
40
|
+
[feature-merge(1)]: feature-merge.1.html
|
41
|
+
[feature-pull(1)]: feature-pull.1.html
|
42
|
+
[feature-status(1)]: feature-status.1.html
|
43
|
+
[feature-stashes(1)]: feature-stashes.1.html
|
44
|
+
[feature-clean(1)]: feature-clean.1.html
|
45
|
+
[feature-github-test(1)]: feature-github-test.1.html
|
46
|
+
[hotfix(1)]: hotfix.1.html
|
47
|
+
[hotfix-list(1)]: hotfix-list.1.html
|
48
|
+
[hotfix-start(1)]: hotfix-start.1.html
|
49
|
+
[hotfix-switch(1)]: hotfix-switch.1.html
|
50
|
+
[hotfix-finish(1)]: hotfix-finish.1.html
|
51
|
+
[hotfix-merge(1)]: hotfix-merge.1.html
|
52
|
+
[git(1)]: https://www.kernel.org/pub/software/scm/git/docs/
|
53
|
+
[feature-finish-issue(1)]: feature-finish-issue.1.html
|
54
|
+
[feature-prune(1)]: feature-prune.1.html
|
55
|
+
[hotfix-finish-issue(1)]: hotfix-finish-issue.1.html
|
data/man/hotfix.1
CHANGED
data/man/hotfix.1.html
CHANGED
@@ -41,6 +41,12 @@
|
|
41
41
|
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
42
|
ol.man-decor li.tr {text-align:right;float:right}
|
43
43
|
</style>
|
44
|
+
<style type='text/css' media='all'>
|
45
|
+
/* style: toc */
|
46
|
+
.man-navigation {display:block !important;position:fixed;top:0;left:113ex;height:100%;width:100%;padding:48px 0 0 0;border-left:1px solid #dbdbdb;background:#eee}
|
47
|
+
.man-navigation a,.man-navigation a:hover,.man-navigation a:link,.man-navigation a:visited {display:block;margin:0;padding:5px 2px 5px 30px;color:#999;text-decoration:none}
|
48
|
+
.man-navigation a:hover {color:#111;text-decoration:underline}
|
49
|
+
</style>
|
44
50
|
</head>
|
45
51
|
<!--
|
46
52
|
The following styles are deprecated and will be removed at some point:
|
@@ -86,7 +92,6 @@
|
|
86
92
|
|
87
93
|
<dl>
|
88
94
|
<dt> <a class="man-ref" href="hotfix-list.1.html">hotfix-list<span class="s">(1)</span></a></dt><dd> List the current branch and any available hotfix branches.</dd>
|
89
|
-
<dt> <a class="man-ref" href="hotfix-url.1.html">hotfix-url<span class="s">(1)</span></a></dt><dd> Get the url of a branch's pull request.</dd>
|
90
95
|
<dt> <a class="man-ref" href="hotfix-start.1.html">hotfix-start<span class="s">(1)</span></a></dt><dd> Start a new hotfix branch.</dd>
|
91
96
|
<dt> <a class="man-ref" href="hotfix-switch.1.html">hotfix-switch<span class="s">(1)</span></a></dt><dd> Switch to another hotfix branch.</dd>
|
92
97
|
<dt> <a class="man-ref" href="hotfix-finish.1.html">hotfix-finish<span class="s">(1)</span></a></dt><dd> Finish this hotfix branch (push and open a pull request).</dd>
|
@@ -109,7 +114,7 @@
|
|
109
114
|
|
110
115
|
<ol class='man-decor man-foot man foot'>
|
111
116
|
<li class='tl'>iFixit</li>
|
112
|
-
<li class='tc'>
|
117
|
+
<li class='tc'>September 2013</li>
|
113
118
|
<li class='tr'>hotfix(1)</li>
|
114
119
|
</ol>
|
115
120
|
|
@@ -0,0 +1,68 @@
|
|
1
|
+
hotfix(1) - Perform actions on a git hotfix branch.
|
2
|
+
===================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`hotfix` <var>command</var> [<var>args</var>]
|
7
|
+
|
8
|
+
## DESCRIPTION
|
9
|
+
|
10
|
+
**hotfix** is a helper script for a modified git-flow model, in which it and
|
11
|
+
`feature` are the primary actors.
|
12
|
+
|
13
|
+
## COMMANDS
|
14
|
+
|
15
|
+
* hotfix-list(1):
|
16
|
+
List the current branch and any available hotfix branches.
|
17
|
+
* hotfix-start(1):
|
18
|
+
Start a new hotfix branch.
|
19
|
+
* hotfix-switch(1):
|
20
|
+
Switch to another hotfix branch.
|
21
|
+
* hotfix-finish(1):
|
22
|
+
Finish this hotfix branch (push and open a pull request).
|
23
|
+
* hotfix-merge(1):
|
24
|
+
Merge a hotfix branch into stable and the development branch.
|
25
|
+
|
26
|
+
## COPYRIGHT
|
27
|
+
|
28
|
+
Copyright (c) 2012-2013 iFixit.
|
29
|
+
|
30
|
+
## SEE ALSO
|
31
|
+
|
32
|
+
feature(1), git(1)
|
33
|
+
|
34
|
+
## WWW
|
35
|
+
|
36
|
+
https://github.com/iFixit/git-scripts
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
[SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
|
41
|
+
[DESCRIPTION]: #DESCRIPTION "DESCRIPTION"
|
42
|
+
[COMMANDS]: #COMMANDS "COMMANDS"
|
43
|
+
[COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
|
44
|
+
[SEE ALSO]: #SEE-ALSO "SEE ALSO"
|
45
|
+
[WWW]: #WWW "WWW"
|
46
|
+
|
47
|
+
|
48
|
+
[feature(1)]: feature.1.html
|
49
|
+
[feature-list(1)]: feature-list.1.html
|
50
|
+
[feature-start(1)]: feature-start.1.html
|
51
|
+
[feature-switch(1)]: feature-switch.1.html
|
52
|
+
[feature-finish(1)]: feature-finish.1.html
|
53
|
+
[feature-merge(1)]: feature-merge.1.html
|
54
|
+
[feature-pull(1)]: feature-pull.1.html
|
55
|
+
[feature-status(1)]: feature-status.1.html
|
56
|
+
[feature-stashes(1)]: feature-stashes.1.html
|
57
|
+
[feature-clean(1)]: feature-clean.1.html
|
58
|
+
[feature-github-test(1)]: feature-github-test.1.html
|
59
|
+
[hotfix(1)]: hotfix.1.html
|
60
|
+
[hotfix-list(1)]: hotfix-list.1.html
|
61
|
+
[hotfix-start(1)]: hotfix-start.1.html
|
62
|
+
[hotfix-switch(1)]: hotfix-switch.1.html
|
63
|
+
[hotfix-finish(1)]: hotfix-finish.1.html
|
64
|
+
[hotfix-merge(1)]: hotfix-merge.1.html
|
65
|
+
[git(1)]: https://www.kernel.org/pub/software/scm/git/docs/
|
66
|
+
[feature-finish-issue(1)]: feature-finish-issue.1.html
|
67
|
+
[feature-prune(1)]: feature-prune.1.html
|
68
|
+
[hotfix-finish-issue(1)]: hotfix-finish-issue.1.html
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-scripts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Daniel Beardsley
|
@@ -12,54 +11,48 @@ authors:
|
|
12
11
|
autorequire:
|
13
12
|
bindir: bin
|
14
13
|
cert_chain: []
|
15
|
-
date: 2013-09-
|
14
|
+
date: 2013-09-19 00:00:00.000000000 Z
|
16
15
|
dependencies:
|
17
16
|
- !ruby/object:Gem::Dependency
|
18
17
|
name: bundler
|
19
18
|
requirement: !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
19
|
requirements:
|
22
|
-
- -
|
20
|
+
- - ">="
|
23
21
|
- !ruby/object:Gem::Version
|
24
22
|
version: '0'
|
25
23
|
type: :runtime
|
26
24
|
prerelease: false
|
27
25
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
26
|
requirements:
|
30
|
-
- -
|
27
|
+
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: '0'
|
33
30
|
- !ruby/object:Gem::Dependency
|
34
31
|
name: octokit
|
35
32
|
requirement: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
33
|
requirements:
|
38
|
-
- - ~>
|
34
|
+
- - "~>"
|
39
35
|
- !ruby/object:Gem::Version
|
40
36
|
version: 1.22.0
|
41
37
|
type: :runtime
|
42
38
|
prerelease: false
|
43
39
|
version_requirements: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
40
|
requirements:
|
46
|
-
- - ~>
|
41
|
+
- - "~>"
|
47
42
|
- !ruby/object:Gem::Version
|
48
43
|
version: 1.22.0
|
49
44
|
- !ruby/object:Gem::Dependency
|
50
45
|
name: highline
|
51
46
|
requirement: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
47
|
requirements:
|
54
|
-
- -
|
48
|
+
- - ">="
|
55
49
|
- !ruby/object:Gem::Version
|
56
50
|
version: '0'
|
57
51
|
type: :runtime
|
58
52
|
prerelease: false
|
59
53
|
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
54
|
requirements:
|
62
|
-
- -
|
55
|
+
- - ">="
|
63
56
|
- !ruby/object:Gem::Version
|
64
57
|
version: '0'
|
65
58
|
description: User scripts for managing feature branches and hotfixes.
|
@@ -79,87 +72,114 @@ files:
|
|
79
72
|
- COPYING
|
80
73
|
- Rakefile
|
81
74
|
- README.md
|
82
|
-
- completion/_feature
|
83
75
|
- completion/bash_completion.sh
|
84
76
|
- completion/_hotfix
|
85
|
-
-
|
77
|
+
- completion/_feature
|
86
78
|
- bin/feature
|
79
|
+
- bin/hotfix
|
87
80
|
- lib/git.rb
|
88
|
-
- lib/signal_handlers.rb
|
89
81
|
- lib/helpers.rb
|
90
82
|
- lib/github.rb
|
83
|
+
- lib/signal_handlers.rb
|
84
|
+
- man/hotfix-list.1.html
|
85
|
+
- man/hotfix.1.ronn
|
86
|
+
- man/hotfix-finish.1.markdown
|
87
|
+
- man/index.txt
|
88
|
+
- man/hotfix.1
|
89
|
+
- man/feature-prune.1.ronn
|
90
|
+
- man/feature-github-test.1.markdown
|
91
|
+
- man/feature-clean.1.markdown
|
92
|
+
- man/feature-finish-issue.1.ronn
|
91
93
|
- man/hotfix-merge.1.ronn
|
92
|
-
- man/feature-
|
93
|
-
- man/
|
94
|
+
- man/feature-stashes.1.html
|
95
|
+
- man/feature-finish-issue.1.html
|
96
|
+
- man/feature-github-test.1.html
|
97
|
+
- man/feature-list.1.html
|
98
|
+
- man/feature-status.1.markdown
|
99
|
+
- man/hotfix-finish.1
|
94
100
|
- man/hotfix-finish-issue.1
|
95
|
-
- man/feature.1.html
|
96
|
-
- man/feature-stashes.1.ronn
|
97
|
-
- man/hotfix.1
|
98
|
-
- man/feature-finish-issue.1
|
99
|
-
- man/hotfix-switch.1
|
100
|
-
- man/feature-stashes.1
|
101
|
-
- man/hotfix.1.html
|
102
|
-
- man/feature-url.1.html
|
103
101
|
- man/hotfix-merge.1.html
|
102
|
+
- man/hotfix-finish-issue.1.ronn
|
103
|
+
- man/feature.1
|
104
|
+
- man/feature-clean.1
|
105
|
+
- man/feature-start.1
|
106
|
+
- man/feature-finish.1
|
107
|
+
- man/feature-finish-issue.1.markdown
|
108
|
+
- man/hotfix-start.1.ronn
|
109
|
+
- man/hotfix-finish-issue.1.markdown
|
110
|
+
- man/feature-switch.1.markdown
|
111
|
+
- man/hotfix-merge.1.markdown
|
112
|
+
- man/hotfix-start.1.markdown
|
113
|
+
- man/feature-finish.1.markdown
|
114
|
+
- man/feature-finish.1.html
|
115
|
+
- man/feature-merge.1
|
116
|
+
- man/feature-status.1.html
|
117
|
+
- man/feature-status.1.ronn
|
118
|
+
- man/feature-finish-issue.1
|
104
119
|
- man/feature-merge.1.html
|
105
|
-
- man/feature-switch.1
|
106
|
-
- man/hotfix-start.1
|
120
|
+
- man/feature-switch.1
|
107
121
|
- man/index.html
|
108
|
-
- man/
|
109
|
-
- man/
|
110
|
-
- man/feature-github-test.1.ronn
|
111
|
-
- man/feature.1.ronn
|
112
|
-
- man/hotfix.1.ronn
|
113
|
-
- man/hotfix-url.1.html
|
114
|
-
- man/hotfix-finish.1.ronn
|
115
|
-
- man/feature-start.1.ronn
|
116
|
-
- man/hotfix-merge.1
|
117
|
-
- man/index.txt
|
122
|
+
- man/hotfix-list.1.markdown
|
123
|
+
- man/hotfix-switch.1.html
|
118
124
|
- man/feature-merge.1.ronn
|
119
|
-
- man/feature-list.1
|
120
|
-
- man/feature-finish.1
|
121
|
-
- man/feature.1
|
122
|
-
- man/hotfix-list.1.ronn
|
123
125
|
- man/feature-clean.1.ronn
|
124
|
-
- man/feature-merge.1
|
125
|
-
- man/hotfix-finish.1
|
126
|
-
- man/feature-prune.1
|
127
|
-
- man/feature-finish-issue.1.ronn
|
128
|
-
- man/feature-status.1.ronn
|
129
|
-
- man/feature-start.1
|
130
|
-
- man/hotfix-list.1.html
|
131
126
|
- man/feature-list.1.ronn
|
132
|
-
- man/feature-finish.1.ronn
|
133
|
-
- man/feature-status.1
|
134
|
-
- man/feature-finish.1.html
|
135
|
-
- man/feature-clean.1
|
136
127
|
- man/hotfix-list.1
|
128
|
+
- man/feature-status.1
|
129
|
+
- man/feature-prune.1
|
130
|
+
- man/feature-start.1.markdown
|
131
|
+
- man/hotfix-start.1
|
132
|
+
- man/hotfix.1.html
|
133
|
+
- man/feature-stashes.1.markdown
|
134
|
+
- man/hotfix-start.1.html
|
137
135
|
- man/feature-switch.1.ronn
|
138
|
-
- man/feature-
|
139
|
-
- man/
|
140
|
-
- man/
|
136
|
+
- man/feature-clean.1.html
|
137
|
+
- man/feature.1.html
|
138
|
+
- man/feature-start.1.html
|
139
|
+
- man/feature-prune.1.html
|
140
|
+
- man/feature-finish.1.ronn
|
141
|
+
- man/feature-stashes.1.ronn
|
142
|
+
- man/hotfix-switch.1.ronn
|
143
|
+
- man/hotfix.1.markdown
|
144
|
+
- man/hotfix-merge.1
|
145
|
+
- man/feature-list.1.markdown
|
146
|
+
- man/hotfix-finish-issue.1.html
|
147
|
+
- man/hotfix-switch.1.markdown
|
148
|
+
- man/hotfix-finish.1.html
|
149
|
+
- man/hotfix-list.1.ronn
|
150
|
+
- man/feature-github-test.1.ronn
|
151
|
+
- man/feature.1.ronn
|
152
|
+
- man/feature.1.markdown
|
153
|
+
- man/feature-github-test.1
|
154
|
+
- man/feature-list.1
|
155
|
+
- man/feature-stashes.1
|
156
|
+
- man/feature-prune.1.markdown
|
157
|
+
- man/feature-merge.1.markdown
|
158
|
+
- man/hotfix-switch.1
|
159
|
+
- man/hotfix-finish.1.ronn
|
160
|
+
- man/feature-switch.1.html
|
161
|
+
- man/feature-start.1.ronn
|
141
162
|
homepage: http://ifixit.github.com/git-scripts/
|
142
163
|
licenses: []
|
164
|
+
metadata: {}
|
143
165
|
post_install_message:
|
144
166
|
rdoc_options: []
|
145
167
|
require_paths:
|
146
168
|
- lib
|
147
169
|
required_ruby_version: !ruby/object:Gem::Requirement
|
148
|
-
none: false
|
149
170
|
requirements:
|
150
|
-
- -
|
171
|
+
- - ">="
|
151
172
|
- !ruby/object:Gem::Version
|
152
173
|
version: '0'
|
153
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
|
-
none: false
|
155
175
|
requirements:
|
156
|
-
- -
|
176
|
+
- - ">="
|
157
177
|
- !ruby/object:Gem::Version
|
158
178
|
version: '0'
|
159
179
|
requirements: []
|
160
180
|
rubyforge_project:
|
161
|
-
rubygems_version:
|
181
|
+
rubygems_version: 2.0.3
|
162
182
|
signing_key:
|
163
|
-
specification_version:
|
183
|
+
specification_version: 4
|
164
184
|
summary: User scripts for managing feature branches and hotfixes.
|
165
185
|
test_files: []
|