git-pairing 0.2.3 → 0.2.4
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 +8 -8
- data/lib/commands/solo.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YWEzYTI2ZDViMTEzNmMxMDk4OWNjNThjZTgwYWZkZGMwOWY2MWYyOA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YjNjNjAxNGQ4NjM2NGNhNDBhMTdkZWFlZWU4ZDM5MGRlYWNhOGMzOA==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MWE1Nzc5MmQ3MDQ5NWZjZDdlZGYxMzQ0N2JkYzQzOGZkYmVjMWY0NWFiMDgw
|
|
10
|
+
ZGRiZmRmYTMxOWFiYTBlMjllYjRjMWY4MjcwMzNjNjkzM2M5NjZhNTMwNGM0
|
|
11
|
+
Mzk2YWI1N2MzNzkyZmFmOGFkNzRkY2Q0NjliZGFkNzIxY2JjMmQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
OTVkYWM3MjllY2JiM2FkNzhmNWIwMzAyNjNiZTljNzRkZDE4OTNjNGFhMTVh
|
|
14
|
+
MmMxNDA5NWIxNmRmMmMyYThmNTFlMWUwMDRjMDYwZWYyZWFhZjc3OTczMjNl
|
|
15
|
+
ZmU2ZmM3YWZlODMyN2Y5YWZkZGMxOWM4ZjAzNzhkZGU4YjIyZTI=
|
data/lib/commands/solo.rb
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
desc 'resets git author to single global user: $git pair solo'
|
|
2
2
|
command :solo do |c|
|
|
3
3
|
c.action do |global_options,options,args|
|
|
4
|
-
`git config --unset-all user.name`
|
|
5
|
-
`git config --unset-all user.email`
|
|
6
|
-
`git config --unset-all user.initials`
|
|
7
|
-
`git config --remove-section user`
|
|
4
|
+
`git config --unset-all user.name > /dev/null 2>/dev/null`
|
|
5
|
+
`git config --unset-all user.email > /dev/null 2>/dev/null`
|
|
6
|
+
`git config --unset-all user.initials > /dev/null 2>/dev/null`
|
|
7
|
+
`git config --remove-section user > /dev/null 2>/dev/null`
|
|
8
8
|
end
|
|
9
9
|
end
|
|
10
10
|
|