hit 0.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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/hit/bin/hit +79 -0
  3. metadata +53 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 605a1a37d977f553d10c52ab520ac79b51af5c30
4
+ data.tar.gz: 03abd514795d146ae1df1329d5db357fc1e8f39b
5
+ SHA512:
6
+ metadata.gz: 40f6488082dc074cff37220c53270e31e5b2ad4a560d430071c857d909bd91773a51e04009d81637da52be04a0aefb9e7b0bd443358c1a727db9a1c7ab1b48ce
7
+ data.tar.gz: f7459688a72216b42b3dc21e1e746934481c5d9b9d2262c6e6dd0fc822142b87a3170a2e2baebb6d522dce309b7e1529659d3fc1da77d7f4c4d161be428a132d
@@ -0,0 +1,79 @@
1
+ #!/bin/sh
2
+
3
+ VERSION=0.0.0
4
+
5
+ HIT_CONFIG="$HOME/.config/hit"
6
+ HUB_CONFIG="$HOME/.config/hub"
7
+
8
+ subcommand_version() {
9
+ git version
10
+ echo hit version $VERSION
11
+ }
12
+
13
+ subcommand_help() {
14
+ read -d '' help << EOF
15
+ usage: git [--version] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
16
+ [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
17
+ [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
18
+ [-c name=value] [--help]
19
+ <command> [<args>]
20
+
21
+ Basic Commands:
22
+ init Create an empty git repository or reinitialize an existing one
23
+ add Add new or modified files to the staging area
24
+ rm Remove files from the working directory and staging area
25
+ mv Move or rename a file, a directory, or a symlink
26
+ status Show the status of the working directory and staging area
27
+ commit Record changes to the repository
28
+
29
+ History Commands:
30
+ log Show the commit history log
31
+ diff Show changes between commits, commit and working tree, etc
32
+ show Show information about commits, tags or files
33
+
34
+ Branching Commands:
35
+ branch List, create, or delete branches
36
+ checkout Switch the active branch to another branch
37
+ merge Join two or more development histories (branches) together
38
+ tag Create, list, delete, sign or verify a tag object
39
+
40
+ Remote Commands:
41
+ clone Clone a remote repository into a new directory
42
+ fetch Download data, tags and branches from a remote repository
43
+ pull Fetch from and merge with another repository or a local branch
44
+ push Upload data, tags and branches to a remote repository
45
+ remote View and manage a set of remote repositories
46
+
47
+ Advanced Commands:
48
+ reset Reset your staging area or working directory to another point
49
+ rebase Re-apply a series of patches in one branch onto another
50
+ bisect Find by binary search the change that introduced a bug
51
+ grep Print files with lines matching a pattern in your codebase
52
+
53
+ GitHub Commands:
54
+ pull-request Open a pull request on GitHub
55
+ fork Make a fork of a remote repository on GitHub and add as remote
56
+ create Create this repository on GitHub and add GitHub as origin
57
+ browse Open a GitHub page in the default browser
58
+ compare Open a compare page on GitHub
59
+ ci-status Lookup commit in GitHub Status API
60
+ alias Show shell instructions for wrapping git
61
+
62
+ See 'git help <command>' for more information on a specific command.
63
+ EOF
64
+ echo "$help"
65
+ }
66
+
67
+ if [ $# -eq 0 ]; then
68
+ subcommand_help
69
+ exit 0
70
+ fi
71
+
72
+ case $1 in
73
+ 'version' | '--version' )
74
+ subcommand_version
75
+ ;;
76
+ * )
77
+ git $@
78
+ ;;
79
+ esac
metadata ADDED
@@ -0,0 +1,53 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Mort Yao
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-10-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: ''
14
+ email: mort.yao@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - hit/bin/hit
20
+ homepage: https://github.com/soimort/hit
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message: |
25
+ ===================================================================
26
+ POST-INSTALLATION
27
+ ===================================================================
28
+
29
+ To use the hit command, add $GEM_HOME/gems/hit-0.0.0/hit/bin to your PATH:
30
+
31
+ $ export PATH=$GEM_HOME/gems/hit-0.0.0/hit/bin:$PATH
32
+
33
+ ===================================================================
34
+ rdoc_options: []
35
+ require_paths:
36
+ - lib
37
+ required_ruby_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '>='
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ required_rubygems_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ requirements: []
48
+ rubyforge_project:
49
+ rubygems_version: 2.0.6
50
+ signing_key:
51
+ specification_version: 4
52
+ summary: ''
53
+ test_files: []