git-utils 0.7.1 → 1.0.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.
- checksums.yaml +5 -5
- data/README.md +3 -2
- data/bin/git-graph +4 -0
- data/lib/git-utils/open.rb +1 -1
- data/lib/git-utils/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 63baf7b0102a6e46c1fbd2141251ae8f470d087b04eab9a9746a5980d643b92f
|
4
|
+
data.tar.gz: d5c7bc5a513e0d41141eed8d75a04b1b0e8c0e69b052f2a18d874f33f6710eee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42cbf8cc51f7ba10483ccb4e1d43e2fa8822be8f373c8c4ca4da9296b77edcaf394d90415881a689473cf35762e6e4d6efbdfdecd4623819e8e6f2343acefdb6
|
7
|
+
data.tar.gz: 06267a25cdc3de42dacad0da0636eab43f0e70489da3a5d6f46132a79a3dee7874d65a181507bf08db5e6e94505d3a92f392911c88957e8ed442c933dcc26d3d
|
data/README.md
CHANGED
@@ -24,6 +24,7 @@ The `git-utils` used to be pure Bash scripts, but they are now available as a Ru
|
|
24
24
|
* `git sync [branch]`: syncs the given branch with the remote branch (defaults to master)
|
25
25
|
* `git typo`: makes a commit with the message "Fix typo"
|
26
26
|
* `git undo`: undoes the last commit
|
27
|
+
* `git graph`: displays full repository history in graphical format; alias for `git log --graph --oneline --decorate --all --full-history --author-date-order --no-notes`
|
27
28
|
|
28
29
|
## Aliases
|
29
30
|
|
@@ -56,7 +57,7 @@ These options can be overriden (and thus restored to their defaults) by passing
|
|
56
57
|
|
57
58
|
`git push-branch` creates a remote branch at `origin` with the name of the current branch:
|
58
59
|
|
59
|
-
$ git branch
|
60
|
+
$ git push-branch
|
60
61
|
* [new branch] add-markdown-support -> add-markdown-support
|
61
62
|
|
62
63
|
`git push-branch` accepts any options valid for `git push`.
|
@@ -84,4 +85,4 @@ but I don't like having `master` and `origin/master` be different since that mea
|
|
84
85
|
|
85
86
|
## Installation
|
86
87
|
|
87
|
-
gem install git-utils
|
88
|
+
gem install git-utils
|
data/bin/git-graph
ADDED
data/lib/git-utils/open.rb
CHANGED
@@ -34,7 +34,7 @@ class Open < Command
|
|
34
34
|
origin_url.sub(pattern, replacement)
|
35
35
|
end
|
36
36
|
|
37
|
-
# Returns a command appropriate for executing at the command line
|
37
|
+
# Returns a command appropriate for executing at the command line.
|
38
38
|
def cmd
|
39
39
|
if options[:print]
|
40
40
|
puts page_url
|
data/lib/git-utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Hartl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Add some Git utilities
|
14
14
|
email:
|
@@ -18,6 +18,7 @@ executables:
|
|
18
18
|
- git-bump
|
19
19
|
- git-cleanup
|
20
20
|
- git-delete-remote-branch
|
21
|
+
- git-graph
|
21
22
|
- git-merge-branch
|
22
23
|
- git-minor
|
23
24
|
- git-open
|
@@ -43,6 +44,7 @@ files:
|
|
43
44
|
- bin/git-bump
|
44
45
|
- bin/git-cleanup
|
45
46
|
- bin/git-delete-remote-branch
|
47
|
+
- bin/git-graph
|
46
48
|
- bin/git-merge-branch
|
47
49
|
- bin/git-minor
|
48
50
|
- bin/git-open
|
@@ -96,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
98
|
version: '0'
|
97
99
|
requirements: []
|
98
100
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.
|
101
|
+
rubygems_version: 2.7.3
|
100
102
|
signing_key:
|
101
103
|
specification_version: 4
|
102
104
|
summary: See the README for full documentation
|