alfred_git 0.3.2 → 0.3.3
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.
- checksums.yaml +4 -4
- data/README.md +20 -5
- data/lib/alfred_git/version.rb +1 -1
- data/lib/alfred_git.rb +2 -2
- 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: 85c685e1aef2b822eaf4edc821970746671b4fe5
|
4
|
+
data.tar.gz: 7e68d31d0e4ebde37386af375d1fe3c08614bbf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3701c2ba56ad251fbc160003f7c578d625f712bc69dd1f00a17db006351001628c0f4433c750d5f837892c8dbf26a35e4aa7ba29c9363c94a177e68535abfc39
|
7
|
+
data.tar.gz: 652aa6fb3fcc104992bf78e4c5bbba9c01e1fb19e3f0b4213ee63316201fa915d4aa02f3cb2b944ef4df4e75032eb7dd0c9e981d1ee0cb144cb423ce57cc1a7e
|
data/README.md
CHANGED
@@ -45,11 +45,10 @@ your last parameter. How does AlfredGit know your repos? You set them up when
|
|
45
45
|
you first run the app! After installation, just run the app and it'll run you
|
46
46
|
through the set up and explain along the way!
|
47
47
|
|
48
|
-
AlfredGit comes packaged with the most common git commands built in.
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
adding it!
|
48
|
+
AlfredGit comes packaged with the most common git commands built in. You can also
|
49
|
+
send custom commands, so you can send whatever command you'd like to however many
|
50
|
+
branches you'd like in one fell swoop! Simple! Think another command warrants
|
51
|
+
being on this list? Email me and I'll consider adding it!
|
53
52
|
|
54
53
|
And with that, we come to the built-in commands. Here are the AlfredGit commands
|
55
54
|
followed by a description of what they run. Most of these should be intuitive.
|
@@ -61,6 +60,13 @@ followed by a description of what they run. Most of these should be intuitive.
|
|
61
60
|
* `status` - Runs a `git status`
|
62
61
|
* `branch` or `branches` - Lists the branch(es) your repo(s) currently have
|
63
62
|
checked out.
|
63
|
+
|
64
|
+
To send a custom command to any number of branches, just send it as your first
|
65
|
+
parameter. Here's the important part to remember, though: if your custom command
|
66
|
+
has a space in it/is longer than one word (say you need to send a `gulp build`
|
67
|
+
to several branches), make sure you wrap it in quotes when sending it to
|
68
|
+
AlfredGit. Also, for some reason, aliases don't work just yet with AlfredGit.
|
69
|
+
I'll be fixing this at some point.
|
64
70
|
|
65
71
|
# Quick Example
|
66
72
|
Here's a quick example of how it works! When you set AlfredGit up, you'll point
|
@@ -82,6 +88,15 @@ How about checking out a branch named 'branch_name' on multiple repos at once?
|
|
82
88
|
|
83
89
|
`> alfred_git checkout branch_name repo_1 repo_2`
|
84
90
|
|
91
|
+
What about those sexy-sounding custom commands you heard about? No problem!
|
92
|
+
Just send your command as the first parameter. Just keep in mind what I
|
93
|
+
mentioned about commands with a space in them! Wrap those bad boys in quotes!
|
94
|
+
So, since this is the examples section, let's say you need to send a `gulp
|
95
|
+
build` to repos 2 and 4. Since the command is more than one word/has a space
|
96
|
+
in it, here's how you would do it:
|
97
|
+
|
98
|
+
`> alfred_git "gulp build" repo_2 repo_4`
|
99
|
+
|
85
100
|
See? Intuitive! Simple! Batman!
|
86
101
|
|
87
102
|
## License
|
data/lib/alfred_git/version.rb
CHANGED
data/lib/alfred_git.rb
CHANGED
@@ -262,8 +262,8 @@ module AlfredGit
|
|
262
262
|
|
263
263
|
# Attempt to restore settings from previous version.
|
264
264
|
def restore_settings
|
265
|
-
lines_pretty_print 'I see that
|
266
|
-
lines_pretty_print Rainbow('Would you like to restore
|
265
|
+
lines_pretty_print 'I see that you have a previous alfred_git installation on this machine.'
|
266
|
+
lines_pretty_print Rainbow('Would you like to restore its settings?').yellow
|
267
267
|
|
268
268
|
answered = false
|
269
269
|
|