git-scripts 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +17 -0
- data/bin/feature +101 -32
- data/bin/hotfix +61 -71
- data/lib/git.rb +50 -16
- data/lib/github.rb +4 -4
- data/lib/helpers.rb +46 -6
- data/lib/signal_handlers.rb +3 -0
- data/man/feature-clean.1 +4 -1
- data/man/feature-clean.1.html +6 -1
- data/man/feature-clean.1.markdown +5 -0
- data/man/feature-clean.1.ronn +4 -0
- data/man/feature-finish.1 +4 -1
- data/man/feature-finish.1.html +6 -1
- data/man/feature-finish.1.markdown +5 -0
- data/man/feature-finish.1.ronn +4 -0
- data/man/feature-github-test.1 +4 -1
- data/man/feature-github-test.1.html +6 -1
- data/man/feature-github-test.1.markdown +5 -0
- data/man/feature-github-test.1.ronn +4 -0
- data/man/feature-list.1 +4 -1
- data/man/feature-list.1.html +6 -1
- data/man/feature-list.1.markdown +5 -0
- data/man/feature-list.1.ronn +4 -0
- data/man/feature-merge.1 +4 -1
- data/man/feature-merge.1.html +6 -1
- data/man/feature-merge.1.markdown +5 -0
- data/man/feature-merge.1.ronn +4 -0
- data/man/feature-prune.1 +37 -0
- data/man/feature-prune.1.ronn +30 -0
- data/man/feature-start.1 +4 -1
- data/man/feature-start.1.html +6 -1
- data/man/feature-start.1.markdown +5 -0
- data/man/feature-start.1.ronn +4 -0
- data/man/feature-stashes.1 +4 -1
- data/man/feature-stashes.1.html +6 -1
- data/man/feature-stashes.1.markdown +5 -0
- data/man/feature-stashes.1.ronn +4 -0
- data/man/feature-status.1 +4 -1
- data/man/feature-status.1.html +6 -1
- data/man/feature-status.1.markdown +5 -0
- data/man/feature-status.1.ronn +4 -0
- data/man/feature-switch.1 +4 -1
- data/man/feature-switch.1.html +6 -1
- data/man/feature-switch.1.markdown +5 -0
- data/man/feature-switch.1.ronn +4 -0
- data/man/feature.1 +8 -1
- data/man/feature.1.html +6 -1
- data/man/feature.1.markdown +5 -0
- data/man/feature.1.ronn +6 -0
- data/man/hotfix-finish.1 +4 -1
- data/man/hotfix-finish.1.html +6 -1
- data/man/hotfix-finish.1.markdown +5 -0
- data/man/hotfix-finish.1.ronn +4 -0
- data/man/hotfix-list.1 +4 -1
- data/man/hotfix-list.1.html +6 -1
- data/man/hotfix-list.1.markdown +5 -0
- data/man/hotfix-list.1.ronn +4 -0
- data/man/hotfix-merge.1 +4 -1
- data/man/hotfix-merge.1.html +6 -1
- data/man/hotfix-merge.1.markdown +5 -0
- data/man/hotfix-merge.1.ronn +4 -0
- data/man/hotfix-start.1 +4 -1
- data/man/hotfix-start.1.html +6 -1
- data/man/hotfix-start.1.markdown +5 -0
- data/man/hotfix-start.1.ronn +4 -0
- data/man/hotfix-switch.1 +4 -1
- data/man/hotfix-switch.1.html +6 -1
- data/man/hotfix-switch.1.markdown +5 -0
- data/man/hotfix-switch.1.ronn +4 -0
- data/man/hotfix.1 +4 -1
- data/man/hotfix.1.html +6 -1
- data/man/hotfix.1.markdown +5 -0
- data/man/hotfix.1.ronn +4 -0
- metadata +5 -2
data/lib/helpers.rb
CHANGED
@@ -3,7 +3,7 @@ HIGHLIGHT_OFF="\033[0m"
|
|
3
3
|
|
4
4
|
def fail_on_local_changes
|
5
5
|
if Git::has_uncommitted_changes
|
6
|
-
die "Cannot perform this action with a dirty working tree
|
6
|
+
die "Cannot perform this action with a dirty working tree; " +
|
7
7
|
"please stash your changes with 'git stash save \"Some message\"'."
|
8
8
|
end
|
9
9
|
end
|
@@ -18,6 +18,7 @@ def display_feature_help(command = nil, message = nil)
|
|
18
18
|
:finish => "feature finish name-of-feature",
|
19
19
|
:merge => "feature merge [name-of-feature]",
|
20
20
|
:pull => "feature pull",
|
21
|
+
:prune => "feature prune <local | origin> <preview | clean>",
|
21
22
|
:status => "feature status",
|
22
23
|
:stashes => "feature stashes [-v]",
|
23
24
|
:clean => "feature clean [--all]",
|
@@ -80,9 +81,10 @@ Look at the source to discover what each of these commands does.
|
|
80
81
|
HELP
|
81
82
|
end
|
82
83
|
|
83
|
-
|
84
|
-
#
|
85
|
-
#
|
84
|
+
##
|
85
|
+
# Prints out an error and the appropriate help if there is not exactly one
|
86
|
+
# command-line argument
|
87
|
+
##
|
86
88
|
def require_argument(program, command = nil, min = 2, max = 2)
|
87
89
|
help = lambda do |msg|
|
88
90
|
if program == :hotfix
|
@@ -93,11 +95,11 @@ def require_argument(program, command = nil, min = 2, max = 2)
|
|
93
95
|
end
|
94
96
|
|
95
97
|
if (ARGV.length > max)
|
96
|
-
help.call "Too many arguments. This command accepts only
|
98
|
+
help.call "Too many arguments. This command accepts only #{max} arguments."
|
97
99
|
end
|
98
100
|
|
99
101
|
if (ARGV.length < min)
|
100
|
-
help.call "Missing argument. This command requires exactly
|
102
|
+
help.call "Missing argument. This command requires exactly #{min} arguments."
|
101
103
|
end
|
102
104
|
|
103
105
|
if (ARGV.last !~ /^[a-zA-z0-9-]+$/)
|
@@ -107,6 +109,7 @@ end
|
|
107
109
|
|
108
110
|
##
|
109
111
|
# Repeatedly prints out a y/n question until a y or n is input
|
112
|
+
##
|
110
113
|
def confirm(question)
|
111
114
|
loop do
|
112
115
|
print(question)
|
@@ -130,8 +133,45 @@ def highlight(str)
|
|
130
133
|
return HIGHLIGHT + str + HIGHLIGHT_OFF;
|
131
134
|
end
|
132
135
|
|
136
|
+
def hotfix_branch(name)
|
137
|
+
if is_hotfix_branch(name)
|
138
|
+
return name
|
139
|
+
else
|
140
|
+
return "hotfix-#{name}"
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
def current_hotfix_branch()
|
145
|
+
if ARGV[1]
|
146
|
+
branch = hotfix_branch(ARGV[1])
|
147
|
+
else
|
148
|
+
branch = Git::current_branch
|
149
|
+
end
|
150
|
+
|
151
|
+
unless is_hotfix_branch(branch)
|
152
|
+
puts "#{branch} is not a hotfix branch"
|
153
|
+
exit 1
|
154
|
+
end
|
155
|
+
return branch
|
156
|
+
end
|
157
|
+
|
158
|
+
def is_hotfix_branch(name)
|
159
|
+
name =~ /^hotfix-/
|
160
|
+
end
|
161
|
+
|
133
162
|
def wrap_text(txt, col = 80)
|
134
163
|
txt.gsub(
|
135
164
|
/(.{1,#{col}})(?: +|$)\n?|(.{#{col}})/,
|
136
165
|
"\\1\\3\n")
|
137
166
|
end
|
167
|
+
|
168
|
+
##
|
169
|
+
# Write the given string to the git-dir specific git-scripts command-log
|
170
|
+
##
|
171
|
+
def log_command(command)
|
172
|
+
require 'time'
|
173
|
+
filename = File.join(Git.git_dir, "git-scripts.log")
|
174
|
+
log = File.open(filename, "a")
|
175
|
+
log.puts "#{Time.now.iso8601}: #{command}"
|
176
|
+
log.close
|
177
|
+
end
|
data/man/feature-clean.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "FEATURE\-CLEAN" "1" "
|
4
|
+
.TH "FEATURE\-CLEAN" "1" "April 2013" "iFixit" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBfeature\-clean\fR \- Remove untracked files and submodules\.
|
@@ -26,3 +26,6 @@ Copyright (c) 2012\-2013 iFixit\.
|
|
26
26
|
.
|
27
27
|
.SH "SEE ALSO"
|
28
28
|
feature(1)
|
29
|
+
.
|
30
|
+
.SH "WWW"
|
31
|
+
https://github\.com/iFixit/git\-scripts
|
data/man/feature-clean.1.html
CHANGED
@@ -65,6 +65,7 @@
|
|
65
65
|
<a href="#OPTIONS">OPTIONS</a>
|
66
66
|
<a href="#COPYRIGHT">COPYRIGHT</a>
|
67
67
|
<a href="#SEE-ALSO">SEE ALSO</a>
|
68
|
+
<a href="#WWW">WWW</a>
|
68
69
|
</div>
|
69
70
|
|
70
71
|
<ol class='man-decor man-head man head'>
|
@@ -103,10 +104,14 @@
|
|
103
104
|
|
104
105
|
<p><a class="man-ref" href="feature.1.html">feature<span class="s">(1)</span></a></p>
|
105
106
|
|
107
|
+
<h2 id="WWW">WWW</h2>
|
108
|
+
|
109
|
+
<p>https://github.com/iFixit/git-scripts</p>
|
110
|
+
|
106
111
|
|
107
112
|
<ol class='man-decor man-foot man foot'>
|
108
113
|
<li class='tl'>iFixit</li>
|
109
|
-
<li class='tc'>
|
114
|
+
<li class='tc'>April 2013</li>
|
110
115
|
<li class='tr'>feature-clean(1)</li>
|
111
116
|
</ol>
|
112
117
|
|
@@ -24,6 +24,10 @@ Copyright (c) 2012-2013 iFixit.
|
|
24
24
|
|
25
25
|
feature(1)
|
26
26
|
|
27
|
+
## WWW
|
28
|
+
|
29
|
+
https://github.com/iFixit/git-scripts
|
30
|
+
|
27
31
|
|
28
32
|
|
29
33
|
[SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
|
@@ -31,6 +35,7 @@ feature(1)
|
|
31
35
|
[OPTIONS]: #OPTIONS "OPTIONS"
|
32
36
|
[COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
|
33
37
|
[SEE ALSO]: #SEE-ALSO "SEE ALSO"
|
38
|
+
[WWW]: #WWW "WWW"
|
34
39
|
|
35
40
|
|
36
41
|
[feature(1)]: feature.1.html
|
data/man/feature-clean.1.ronn
CHANGED
data/man/feature-finish.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "FEATURE\-FINISH" "1" "
|
4
|
+
.TH "FEATURE\-FINISH" "1" "April 2013" "iFixit" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBfeature\-finish\fR \- Finish this feature branch\.
|
@@ -17,3 +17,6 @@ Copyright (c) 2012\-2013 iFixit\.
|
|
17
17
|
.
|
18
18
|
.SH "SEE ALSO"
|
19
19
|
feature(1), hotfix\-finish(1)
|
20
|
+
.
|
21
|
+
.SH "WWW"
|
22
|
+
https://github\.com/iFixit/git\-scripts
|
data/man/feature-finish.1.html
CHANGED
@@ -64,6 +64,7 @@
|
|
64
64
|
<a href="#DESCRIPTION">DESCRIPTION</a>
|
65
65
|
<a href="#COPYRIGHT">COPYRIGHT</a>
|
66
66
|
<a href="#SEE-ALSO">SEE ALSO</a>
|
67
|
+
<a href="#WWW">WWW</a>
|
67
68
|
</div>
|
68
69
|
|
69
70
|
<ol class='man-decor man-head man head'>
|
@@ -95,10 +96,14 @@ default to the commit message from the last commit on the branch.</p>
|
|
95
96
|
|
96
97
|
<p><a class="man-ref" href="feature.1.html">feature<span class="s">(1)</span></a>, <a class="man-ref" href="hotfix-finish.1.html">hotfix-finish<span class="s">(1)</span></a></p>
|
97
98
|
|
99
|
+
<h2 id="WWW">WWW</h2>
|
100
|
+
|
101
|
+
<p>https://github.com/iFixit/git-scripts</p>
|
102
|
+
|
98
103
|
|
99
104
|
<ol class='man-decor man-foot man foot'>
|
100
105
|
<li class='tl'>iFixit</li>
|
101
|
-
<li class='tc'>
|
106
|
+
<li class='tc'>April 2013</li>
|
102
107
|
<li class='tr'>feature-finish(1)</li>
|
103
108
|
</ol>
|
104
109
|
|
@@ -19,12 +19,17 @@ Copyright (c) 2012-2013 iFixit.
|
|
19
19
|
|
20
20
|
feature(1), hotfix-finish(1)
|
21
21
|
|
22
|
+
## WWW
|
23
|
+
|
24
|
+
https://github.com/iFixit/git-scripts
|
25
|
+
|
22
26
|
|
23
27
|
|
24
28
|
[SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
|
25
29
|
[DESCRIPTION]: #DESCRIPTION "DESCRIPTION"
|
26
30
|
[COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
|
27
31
|
[SEE ALSO]: #SEE-ALSO "SEE ALSO"
|
32
|
+
[WWW]: #WWW "WWW"
|
28
33
|
|
29
34
|
|
30
35
|
[feature(1)]: feature.1.html
|
data/man/feature-finish.1.ronn
CHANGED
data/man/feature-github-test.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "FEATURE\-GITHUB\-TEST" "1" "
|
4
|
+
.TH "FEATURE\-GITHUB\-TEST" "1" "April 2013" "iFixit" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBfeature\-github\-test\fR \- Test Github authentication\.
|
@@ -17,3 +17,6 @@ Copyright (c) 2012\-2013 iFixit\.
|
|
17
17
|
.
|
18
18
|
.SH "SEE ALSO"
|
19
19
|
feature(1)
|
20
|
+
.
|
21
|
+
.SH "WWW"
|
22
|
+
https://github\.com/iFixit/git\-scripts
|
@@ -64,6 +64,7 @@
|
|
64
64
|
<a href="#DESCRIPTION">DESCRIPTION</a>
|
65
65
|
<a href="#COPYRIGHT">COPYRIGHT</a>
|
66
66
|
<a href="#SEE-ALSO">SEE ALSO</a>
|
67
|
+
<a href="#WWW">WWW</a>
|
67
68
|
</div>
|
68
69
|
|
69
70
|
<ol class='man-decor man-head man head'>
|
@@ -93,10 +94,14 @@
|
|
93
94
|
|
94
95
|
<p><a class="man-ref" href="feature.1.html">feature<span class="s">(1)</span></a></p>
|
95
96
|
|
97
|
+
<h2 id="WWW">WWW</h2>
|
98
|
+
|
99
|
+
<p>https://github.com/iFixit/git-scripts</p>
|
100
|
+
|
96
101
|
|
97
102
|
<ol class='man-decor man-foot man foot'>
|
98
103
|
<li class='tl'>iFixit</li>
|
99
|
-
<li class='tc'>
|
104
|
+
<li class='tc'>April 2013</li>
|
100
105
|
<li class='tr'>feature-github-test(1)</li>
|
101
106
|
</ol>
|
102
107
|
|
@@ -17,12 +17,17 @@ Copyright (c) 2012-2013 iFixit.
|
|
17
17
|
|
18
18
|
feature(1)
|
19
19
|
|
20
|
+
## WWW
|
21
|
+
|
22
|
+
https://github.com/iFixit/git-scripts
|
23
|
+
|
20
24
|
|
21
25
|
|
22
26
|
[SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
|
23
27
|
[DESCRIPTION]: #DESCRIPTION "DESCRIPTION"
|
24
28
|
[COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
|
25
29
|
[SEE ALSO]: #SEE-ALSO "SEE ALSO"
|
30
|
+
[WWW]: #WWW "WWW"
|
26
31
|
|
27
32
|
|
28
33
|
[feature(1)]: feature.1.html
|
data/man/feature-list.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "FEATURE\-LIST" "1" "
|
4
|
+
.TH "FEATURE\-LIST" "1" "April 2013" "iFixit" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBfeature\-list\fR \- Lists the current branch and any available feature branches\.
|
@@ -17,3 +17,6 @@ Copyright (c) 2012\-2013 iFixit\.
|
|
17
17
|
.
|
18
18
|
.SH "SEE ALSO"
|
19
19
|
feature(1), hotfix\-list(1)
|
20
|
+
.
|
21
|
+
.SH "WWW"
|
22
|
+
https://github\.com/iFixit/git\-scripts
|
data/man/feature-list.1.html
CHANGED
@@ -64,6 +64,7 @@
|
|
64
64
|
<a href="#DESCRIPTION">DESCRIPTION</a>
|
65
65
|
<a href="#COPYRIGHT">COPYRIGHT</a>
|
66
66
|
<a href="#SEE-ALSO">SEE ALSO</a>
|
67
|
+
<a href="#WWW">WWW</a>
|
67
68
|
</div>
|
68
69
|
|
69
70
|
<ol class='man-decor man-head man head'>
|
@@ -94,10 +95,14 @@ hash, and relative time of last commit on each branch.</p>
|
|
94
95
|
|
95
96
|
<p><a class="man-ref" href="feature.1.html">feature<span class="s">(1)</span></a>, <a class="man-ref" href="hotfix-list.1.html">hotfix-list<span class="s">(1)</span></a></p>
|
96
97
|
|
98
|
+
<h2 id="WWW">WWW</h2>
|
99
|
+
|
100
|
+
<p>https://github.com/iFixit/git-scripts</p>
|
101
|
+
|
97
102
|
|
98
103
|
<ol class='man-decor man-foot man foot'>
|
99
104
|
<li class='tl'>iFixit</li>
|
100
|
-
<li class='tc'>
|
105
|
+
<li class='tc'>April 2013</li>
|
101
106
|
<li class='tr'>feature-list(1)</li>
|
102
107
|
</ol>
|
103
108
|
|
data/man/feature-list.1.markdown
CHANGED
@@ -18,12 +18,17 @@ Copyright (c) 2012-2013 iFixit.
|
|
18
18
|
|
19
19
|
feature(1), hotfix-list(1)
|
20
20
|
|
21
|
+
## WWW
|
22
|
+
|
23
|
+
https://github.com/iFixit/git-scripts
|
24
|
+
|
21
25
|
|
22
26
|
|
23
27
|
[SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
|
24
28
|
[DESCRIPTION]: #DESCRIPTION "DESCRIPTION"
|
25
29
|
[COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
|
26
30
|
[SEE ALSO]: #SEE-ALSO "SEE ALSO"
|
31
|
+
[WWW]: #WWW "WWW"
|
27
32
|
|
28
33
|
|
29
34
|
[feature(1)]: feature.1.html
|
data/man/feature-list.1.ronn
CHANGED
data/man/feature-merge.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "FEATURE\-MERGE" "1" "
|
4
|
+
.TH "FEATURE\-MERGE" "1" "April 2013" "iFixit" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBfeature\-merge\fR \- Merge a feature branch into the development branch\.
|
@@ -20,3 +20,6 @@ Copyright (c) 2012\-2013 iFixit\.
|
|
20
20
|
.
|
21
21
|
.SH "SEE ALSO"
|
22
22
|
feature(1), hotfix\-merge(1)
|
23
|
+
.
|
24
|
+
.SH "WWW"
|
25
|
+
https://github\.com/iFixit/git\-scripts
|
data/man/feature-merge.1.html
CHANGED
@@ -64,6 +64,7 @@
|
|
64
64
|
<a href="#DESCRIPTION">DESCRIPTION</a>
|
65
65
|
<a href="#COPYRIGHT">COPYRIGHT</a>
|
66
66
|
<a href="#SEE-ALSO">SEE ALSO</a>
|
67
|
+
<a href="#WWW">WWW</a>
|
67
68
|
</div>
|
68
69
|
|
69
70
|
<ol class='man-decor man-head man head'>
|
@@ -98,10 +99,14 @@ request associated with the branch.</p>
|
|
98
99
|
|
99
100
|
<p><a class="man-ref" href="feature.1.html">feature<span class="s">(1)</span></a>, <a class="man-ref" href="hotfix-merge.1.html">hotfix-merge<span class="s">(1)</span></a></p>
|
100
101
|
|
102
|
+
<h2 id="WWW">WWW</h2>
|
103
|
+
|
104
|
+
<p>https://github.com/iFixit/git-scripts</p>
|
105
|
+
|
101
106
|
|
102
107
|
<ol class='man-decor man-foot man foot'>
|
103
108
|
<li class='tl'>iFixit</li>
|
104
|
-
<li class='tc'>
|
109
|
+
<li class='tc'>April 2013</li>
|
105
110
|
<li class='tr'>feature-merge(1)</li>
|
106
111
|
</ol>
|
107
112
|
|
@@ -22,12 +22,17 @@ Copyright (c) 2012-2013 iFixit.
|
|
22
22
|
|
23
23
|
feature(1), hotfix-merge(1)
|
24
24
|
|
25
|
+
## WWW
|
26
|
+
|
27
|
+
https://github.com/iFixit/git-scripts
|
28
|
+
|
25
29
|
|
26
30
|
|
27
31
|
[SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
|
28
32
|
[DESCRIPTION]: #DESCRIPTION "DESCRIPTION"
|
29
33
|
[COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
|
30
34
|
[SEE ALSO]: #SEE-ALSO "SEE ALSO"
|
35
|
+
[WWW]: #WWW "WWW"
|
31
36
|
|
32
37
|
|
33
38
|
[feature(1)]: feature.1.html
|
data/man/feature-merge.1.ronn
CHANGED
data/man/feature-prune.1
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "FEATURE\-PRUNE" "1" "July 2013" "" ""
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBfeature\-prune\fR \- Remove old branches on original or local\.
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fBfeature prune\fR (local|origin) \fIoptions\fR
|
11
|
+
.
|
12
|
+
.SH "Description"
|
13
|
+
Remove old branches on local or origin\.
|
14
|
+
.
|
15
|
+
.SH "OPTIONS"
|
16
|
+
.
|
17
|
+
.TP
|
18
|
+
\fBlocal\fR
|
19
|
+
Remove branches locally\.
|
20
|
+
.
|
21
|
+
.TP
|
22
|
+
\fBorigin\fR
|
23
|
+
Remove branches on origin\.
|
24
|
+
.
|
25
|
+
.TP
|
26
|
+
\fBpreview\fR
|
27
|
+
Display what branches would be deleted\.
|
28
|
+
.
|
29
|
+
.TP
|
30
|
+
\fBclean\fR
|
31
|
+
Remove old branches\.
|
32
|
+
.
|
33
|
+
.SH "COPYRIGHT"
|
34
|
+
Copyright (c) 2012\-2013 iFixit\.
|
35
|
+
.
|
36
|
+
.SH "SEE ALSO"
|
37
|
+
feature(1)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
feature-prune(1) - Remove old branches on original or local.
|
2
|
+
============================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`feature prune` (local|origin) [options]
|
7
|
+
|
8
|
+
## Description
|
9
|
+
|
10
|
+
Remove old branches on local or origin.
|
11
|
+
|
12
|
+
|
13
|
+
## OPTIONS
|
14
|
+
|
15
|
+
* `local`:
|
16
|
+
Remove branches locally.
|
17
|
+
* `origin`:
|
18
|
+
Remove branches on origin.
|
19
|
+
* `preview`:
|
20
|
+
Display what branches would be deleted.
|
21
|
+
* `clean`:
|
22
|
+
Remove old branches.
|
23
|
+
|
24
|
+
## COPYRIGHT
|
25
|
+
|
26
|
+
Copyright (c) 2012-2013 iFixit.
|
27
|
+
|
28
|
+
## SEE ALSO
|
29
|
+
|
30
|
+
feature(1)
|
data/man/feature-start.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "FEATURE\-START" "1" "
|
4
|
+
.TH "FEATURE\-START" "1" "April 2013" "iFixit" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBfeature\-start\fR \- Start a new feature branch\.
|
@@ -17,3 +17,6 @@ Copyright (c) 2012\-2013 iFixit\.
|
|
17
17
|
.
|
18
18
|
.SH "SEE ALSO"
|
19
19
|
feature(1), hotfix\-start(1)
|
20
|
+
.
|
21
|
+
.SH "WWW"
|
22
|
+
https://github\.com/iFixit/git\-scripts
|
data/man/feature-start.1.html
CHANGED
@@ -64,6 +64,7 @@
|
|
64
64
|
<a href="#DESCRIPTION">DESCRIPTION</a>
|
65
65
|
<a href="#COPYRIGHT">COPYRIGHT</a>
|
66
66
|
<a href="#SEE-ALSO">SEE ALSO</a>
|
67
|
+
<a href="#WWW">WWW</a>
|
67
68
|
</div>
|
68
69
|
|
69
70
|
<ol class='man-decor man-head man head'>
|
@@ -93,10 +94,14 @@
|
|
93
94
|
|
94
95
|
<p><a class="man-ref" href="feature.1.html">feature<span class="s">(1)</span></a>, <a class="man-ref" href="hotfix-start.1.html">hotfix-start<span class="s">(1)</span></a></p>
|
95
96
|
|
97
|
+
<h2 id="WWW">WWW</h2>
|
98
|
+
|
99
|
+
<p>https://github.com/iFixit/git-scripts</p>
|
100
|
+
|
96
101
|
|
97
102
|
<ol class='man-decor man-foot man foot'>
|
98
103
|
<li class='tl'>iFixit</li>
|
99
|
-
<li class='tc'>
|
104
|
+
<li class='tc'>April 2013</li>
|
100
105
|
<li class='tr'>feature-start(1)</li>
|
101
106
|
</ol>
|
102
107
|
|
@@ -17,12 +17,17 @@ Copyright (c) 2012-2013 iFixit.
|
|
17
17
|
|
18
18
|
feature(1), hotfix-start(1)
|
19
19
|
|
20
|
+
## WWW
|
21
|
+
|
22
|
+
https://github.com/iFixit/git-scripts
|
23
|
+
|
20
24
|
|
21
25
|
|
22
26
|
[SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
|
23
27
|
[DESCRIPTION]: #DESCRIPTION "DESCRIPTION"
|
24
28
|
[COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
|
25
29
|
[SEE ALSO]: #SEE-ALSO "SEE ALSO"
|
30
|
+
[WWW]: #WWW "WWW"
|
26
31
|
|
27
32
|
|
28
33
|
[feature(1)]: feature.1.html
|
data/man/feature-start.1.ronn
CHANGED
data/man/feature-stashes.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "FEATURE\-STASHES" "1" "
|
4
|
+
.TH "FEATURE\-STASHES" "1" "April 2013" "iFixit" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBfeature\-stashes\fR \- Show stashes saved on the current branch\.
|
@@ -26,3 +26,6 @@ Copyright (c) 2012\-2013 iFixit\.
|
|
26
26
|
.
|
27
27
|
.SH "SEE ALSO"
|
28
28
|
feature(1)
|
29
|
+
.
|
30
|
+
.SH "WWW"
|
31
|
+
https://github\.com/iFixit/git\-scripts
|
data/man/feature-stashes.1.html
CHANGED
@@ -65,6 +65,7 @@
|
|
65
65
|
<a href="#OPTIONS">OPTIONS</a>
|
66
66
|
<a href="#COPYRIGHT">COPYRIGHT</a>
|
67
67
|
<a href="#SEE-ALSO">SEE ALSO</a>
|
68
|
+
<a href="#WWW">WWW</a>
|
68
69
|
</div>
|
69
70
|
|
70
71
|
<ol class='man-decor man-head man head'>
|
@@ -105,10 +106,14 @@ stash.</p>
|
|
105
106
|
|
106
107
|
<p><a class="man-ref" href="feature.1.html">feature<span class="s">(1)</span></a></p>
|
107
108
|
|
109
|
+
<h2 id="WWW">WWW</h2>
|
110
|
+
|
111
|
+
<p>https://github.com/iFixit/git-scripts</p>
|
112
|
+
|
108
113
|
|
109
114
|
<ol class='man-decor man-foot man foot'>
|
110
115
|
<li class='tl'>iFixit</li>
|
111
|
-
<li class='tc'>
|
116
|
+
<li class='tc'>April 2013</li>
|
112
117
|
<li class='tr'>feature-stashes(1)</li>
|
113
118
|
</ol>
|
114
119
|
|
@@ -26,6 +26,10 @@ Copyright (c) 2012-2013 iFixit.
|
|
26
26
|
|
27
27
|
feature(1)
|
28
28
|
|
29
|
+
## WWW
|
30
|
+
|
31
|
+
https://github.com/iFixit/git-scripts
|
32
|
+
|
29
33
|
|
30
34
|
|
31
35
|
[SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
|
@@ -33,6 +37,7 @@ feature(1)
|
|
33
37
|
[OPTIONS]: #OPTIONS "OPTIONS"
|
34
38
|
[COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
|
35
39
|
[SEE ALSO]: #SEE-ALSO "SEE ALSO"
|
40
|
+
[WWW]: #WWW "WWW"
|
36
41
|
|
37
42
|
|
38
43
|
[feature(1)]: feature.1.html
|
data/man/feature-stashes.1.ronn
CHANGED
data/man/feature-status.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "FEATURE\-STATUS" "1" "
|
4
|
+
.TH "FEATURE\-STATUS" "1" "April 2013" "iFixit" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBfeature\-status\fR \- Determine if the current branch is up\-to\-date with the remote branch\.
|
@@ -20,3 +20,6 @@ Copyright (c) 2012\-2013 iFixit\.
|
|
20
20
|
.
|
21
21
|
.SH "SEE ALSO"
|
22
22
|
feature(1)
|
23
|
+
.
|
24
|
+
.SH "WWW"
|
25
|
+
https://github\.com/iFixit/git\-scripts
|