gitgud 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +3 -0
- data/bin/gitgud +2 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12b0735e4349da5e406d979f52578d20a92457924676582a031ae91a68fca497
|
4
|
+
data.tar.gz: 40db6751b09dbf1aabb4e36e3543d3a82ea0f27d3d54cf45d60bced0ef2ca5d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ce5be83ee18781a9ad325815dcce977a049178c88ad5d8e37e37dc0abed3d50623fd2c5132d4fd04f66d6f1e3991459eae1ffd91b9c86d570a92d6329cfd3d2
|
7
|
+
data.tar.gz: 79164c9b9393d2b17cfc1a0e2ed08d7ac29c1602c00832b0a28d15d55995c7d3657bbfc065690e291c7f748f99f01ea800db7c0a63b1e92eb121d861a6df9866
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
|
3
3
|
When things go wrong, you need to `gitgud`. `gitgud` acts just like `git`, but gives you superpowers when trying to `git push`. It will attempt to `git push` until it succeeds.
|
4
4
|
|
5
|
+
![gitgud](https://user-images.githubusercontent.com/4406751/75472054-f3c92680-5960-11ea-9eaa-eff24eb4dfe4.gif)
|
6
|
+
|
7
|
+
|
5
8
|
## `gitgud` is the new `git`
|
6
9
|
|
7
10
|
gitgud supports the same commands as `git` as it is effectively calling `git` under the hood.
|
data/bin/gitgud
CHANGED
@@ -4,7 +4,7 @@ require 'cli/ui'
|
|
4
4
|
|
5
5
|
def try_to_push_this_thing(spinner)
|
6
6
|
counter = 1
|
7
|
-
while !system(
|
7
|
+
while !system('git', 'push', *ARGV)
|
8
8
|
spinner.update_title(spinner_title(counter))
|
9
9
|
counter += 1
|
10
10
|
end
|
@@ -27,11 +27,7 @@ def plz_push_my_thing_on_git_thx_k_bye
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def default_to_using_the_plain_git
|
30
|
-
system(
|
31
|
-
end
|
32
|
-
|
33
|
-
def all_of_the_args
|
34
|
-
ARGV.join(" ")
|
30
|
+
system('git', *ARGV)
|
35
31
|
end
|
36
32
|
|
37
33
|
def run_da_whole_show
|