git_commands 3.2.5 → 3.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -4
- data/lib/git_commands/command.rb +1 -1
- data/lib/git_commands/repository.rb +6 -0
- data/lib/git_commands/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2936c4e9f2983c15ed57ca5771dfa518d2aeecd9
|
4
|
+
data.tar.gz: 095c33cffbb33c11c3069b62607892e8db2944fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a88f137909b4d8607af9cb674eac69008e7fa88c9cbcd18403416a704cc50a1bd03f45d5dc1e03834ac7a1c7f1ba0884a2e558292791567cc0f8fd5e3e964e05
|
7
|
+
data.tar.gz: f57c3a817cdb54dd6a9428071d2dc90baf5d905bd0d1aa1a190046ac1a2608132e2fe5e06562fb4588d567adc49f6ccba6e3bb49df0af3983c375891027c9b73
|
data/README.md
CHANGED
@@ -55,7 +55,7 @@ Usage: rebase --repo=/Users/Elvis/greatest_hits --branches=feature/love_me_tende
|
|
55
55
|
```
|
56
56
|
|
57
57
|
#### Repository
|
58
|
-
You have to specify the
|
58
|
+
You have to specify the absolute path to the GIT repository you want to work with. The path must be a folder initialized as a valid GIT repository (a check via *rev-parse* is performed), otherwise an error is raised:
|
59
59
|
|
60
60
|
```
|
61
61
|
rebase --repo=invalid
|
@@ -79,7 +79,7 @@ Successfully loaded 3 branches:
|
|
79
79
|
```
|
80
80
|
|
81
81
|
##### Path to a names file
|
82
|
-
Specify
|
82
|
+
Specify an absolute path to a file containing the branches names on each line:
|
83
83
|
|
84
84
|
File */Users/Elvis/greatest_hits/.branches*:
|
85
85
|
```
|
@@ -127,8 +127,7 @@ Successfully loaded 1 branch:
|
|
127
127
|
In case no branches have been loaded, an error is raised:
|
128
128
|
|
129
129
|
```
|
130
|
-
|
131
|
-
rebase --repo=./greatest_hits --branches=noent1, noent2
|
130
|
+
rebase --repo=/Users/Elvis/greatest_hits --branches=noent1,noent2
|
132
131
|
No branches loaded!
|
133
132
|
```
|
134
133
|
|
data/lib/git_commands/command.rb
CHANGED
data/lib/git_commands/version.rb
CHANGED