ghit 0.0.1 → 0.0.2
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/README.md +6 -21
- data/ghit.gemspec +1 -1
- data/lib/ghit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTFjNjE0OGE0MmY2ZTIwMTI2ODNkNjQzYzJkODA2OGM5YmJmMWE3MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTEyOGY1MjU3MjQ5YWI1YWU5ZTZlMGVmZTkwMWZjMzUyMDdlZTNjOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTQ2YjEzYjU0NDNiYjE0ZmU0NjRiMDBkYTc2YTRjMzY4YTlhNmUxZTZhZTFk
|
10
|
+
ZTY2Y2JiYjRjYzRlODk2M2I1ZjBiYjZjYzNlYmI3MTgwY2IzZWM3MTM4NTdl
|
11
|
+
ZmQ0ZTc2NTkwNzZhNDY0YTM0ODFmYzJjNDVhNTVmZDVkNmIwMTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTk4ODM4Mzk2ZDI4NDY5MmIyNTU5NjBhZDZhNjM3NTEyOWY2MzNjYWZkNTk1
|
14
|
+
NjlkOTM4ODlhMWJjNGQ0ZjM4YmZjMDljMjMyZWE3M2EzMDE4MWEyOTcyYmRi
|
15
|
+
NDdiMTY5YTY4ZThkZTc2ZGEwN2Y3ZjE0Y2UyMGZkMzBjYTI2MGM=
|
data/README.md
CHANGED
@@ -6,40 +6,25 @@ Ghit
|
|
6
6
|
Ghit is a collection of custom ```git``` commands that allows the user to easily navigate to
|
7
7
|
certain Github pages of the repo (if it exists). Also, it contains semantic git messages inspired by Sparkbox's awesome article on [semantic commit messages](http://seesparkbox.com/foundry/semantic_commit_messages).
|
8
8
|
|
9
|
-
## Installation
|
10
|
-
|
11
|
-
Add this line to your application's Gemfile:
|
12
|
-
|
13
|
-
gem 'ghit'
|
14
9
|
|
15
|
-
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
10
|
+
## Installation
|
20
11
|
|
21
12
|
$ gem install ghit
|
22
13
|
|
23
|
-
|
24
|
-
|
25
|
-
1. Clone this repo, prefferably in your $HOME directory.
|
26
|
-
``` git clone https://github.com/fteem/github-on-git ~/.github-on-git ```
|
27
|
-
|
28
|
-
2. Add the folder to your $PATH.
|
29
|
-
* if using Bash, open ```~/.bashrc``` with your favourite editor and add this line: <br/> ``` export PATH=$PATH:$HOME/.github-on-git ```
|
30
|
-
* if using Zsh, open ```~/.zshrc``` with your favourite editor and add this line: <br/> ``` export PATH=$PATH:$HOME/.github-on-git ```
|
31
|
-
|
32
|
-
3. Save the file and source the changes in bashrc/zshrc: ```source ~/.bashrc``` or ```source ~/.zshrc```
|
33
|
-
4. Read below.
|
14
|
+
That's it!
|
34
15
|
|
35
16
|
## Usage
|
36
17
|
|
37
18
|
There are 11 (woot!) new ```git``` commands now.
|
38
19
|
|
20
|
+
The following commands allow you to easily navigate to repo's Github (sub)page.
|
21
|
+
|
39
22
|
* ```git wiki``` -> Opens the Github wiki page of the repo in browser.
|
40
23
|
* ```git pulls``` -> Opens the Github pull requests page of the repo in broswer.
|
41
24
|
* ```git issues``` -> Opens the Github issues page of the repo in broswer.
|
42
25
|
* ```git open``` -> Opens the Github repo page in browser.
|
26
|
+
|
27
|
+
The following commands can be used to semantically improve your commit messages:
|
43
28
|
* ```git feat "commit-message-here"``` -> ```git commit -m 'feat: commit-message-here'```
|
44
29
|
* ```git docs "commit-message-here"``` -> ```git commit -m 'docs: commit-message-here'```
|
45
30
|
* ```git chore "commit-message-here"``` -> ```git commit -m 'chore: commit-message-here'```
|
data/ghit.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["ileeftimov@gmail.com"]
|
11
11
|
spec.summary = %q{More git commands for your enjoyment.}
|
12
12
|
spec.description = %q{Ghit is a gem that adds more git commands for a better command line Git(hub) experience.}
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "https://github.com/fteem/ghit"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
data/lib/ghit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ghit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ile Eftimov
|
@@ -102,7 +102,7 @@ files:
|
|
102
102
|
- spec/repo_locator_spec.rb
|
103
103
|
- spec/spec_helper.rb
|
104
104
|
- spec/ssh_remote_url_builder_spec.rb
|
105
|
-
homepage:
|
105
|
+
homepage: https://github.com/fteem/ghit
|
106
106
|
licenses:
|
107
107
|
- MIT
|
108
108
|
metadata: {}
|