git-utils 2.2.1 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +6 -4
- data/bin/git-files-changed +4 -0
- data/bin/git-minor +0 -1
- data/bin/git-typo +0 -1
- data/bin/git-typos +3 -0
- data/lib/git-utils/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 181af0ae07400d1e5461d0c1b7abf774c44d9e9f295575903582ef76c6fd5ae6
|
4
|
+
data.tar.gz: 4949ed6c13b21c71c4a65fd02e5486cccfdf01e72a20ccc870a87c488fde8a6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 498fc16f27f767d07dadf90b54cca8e0102c3ef633d58c4512c14e47a5ffef9f34a38b86cf1a54686ee3155e012209d21fa01ebbdd3bc9c429b6b94431cb0186
|
7
|
+
data.tar.gz: 4f9bd955b194d529af26bdebe70a9cf17d4f351d3727b5d35a99c160c7e9cab5b1427a8ca6fd8fca8fe74362cca974bc8e5f84cfdc37743242d0f2fb6fb704f2
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -8,11 +8,16 @@ This repo contains some Git utility scripts. The highlights are `git open`, `git
|
|
8
8
|
|
9
9
|
See below for more details on the commands defined by `git-utils`. To learn more about how to use Git itself, see the tutorial book and online course [*Learn Enough Git to Be Dangerous*](https://www.learnenough.com/git).
|
10
10
|
|
11
|
+
## Installation
|
12
|
+
|
13
|
+
gem install git-utils
|
14
|
+
|
11
15
|
## Commands
|
12
16
|
|
13
17
|
* `git amend`: alias for `git commit --amend`
|
14
18
|
* `git bump`: makes a commit with the message `"Bump version number"`
|
15
19
|
* `git cleanup`: deletes every branch already merged into current branch (apart from `master`, `main`, `staging`, `development`, and any branches listed in `~/.git-cleanup-preserved`). Pass the `-r` option to delete remote merged branches.
|
20
|
+
* `git files-changed`: alias for `git log --name-only`, showing only the commit message and which files changed (no diffs).
|
16
21
|
* `git merge-into-branch [branch]`: merges current branch into given branch (defaults to repo's default branch)
|
17
22
|
* `git minor`: makes a commit with the message `"Make minor changes"`
|
18
23
|
* `git open`: opens the remote page for the repo (macOS & Linux)
|
@@ -24,6 +29,7 @@ See below for more details on the commands defined by `git-utils`. To learn more
|
|
24
29
|
* `git sync [branch]`: syncs the given branch with the remote branch (defaults to repo's default branch)
|
25
30
|
* `git sync-fork`: syncs the default branch of a fork with the original upstream default (assumes upstream configuration as in “[Configuring a remote for a fork](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork)”)
|
26
31
|
* `git typo`: makes a commit with the message `"Fix typo"`
|
32
|
+
* `git typos`: makes a commit with the message `"Fix typos"`
|
27
33
|
* `git undo`: undoes the last commit
|
28
34
|
* `git graph`: displays full repository history in graphical format; alias for `git log --graph --oneline --decorate --all --full-history --author-date-order --no-notes`
|
29
35
|
|
@@ -83,7 +89,3 @@ The main purpose of `git sync` is to prepare the current branch for merging with
|
|
83
89
|
$ git merge origin/master
|
84
90
|
|
85
91
|
but I don’t like having `master` and `origin/master` be different since that means you have to remember to run `git pull` on `master` some time down the line.)
|
86
|
-
|
87
|
-
## Installation
|
88
|
-
|
89
|
-
gem install git-utils
|
data/bin/git-minor
CHANGED
data/bin/git-typo
CHANGED
data/bin/git-typos
ADDED
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: 2.
|
4
|
+
version: 2.4.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: 2024-01-24 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-files-changed
|
21
22
|
- git-graph
|
22
23
|
- git-merge-into-branch
|
23
24
|
- git-minor
|
@@ -29,6 +30,7 @@ executables:
|
|
29
30
|
- git-sync
|
30
31
|
- git-sync-fork
|
31
32
|
- git-typo
|
33
|
+
- git-typos
|
32
34
|
- git-undo
|
33
35
|
extensions: []
|
34
36
|
extra_rdoc_files: []
|
@@ -45,6 +47,7 @@ files:
|
|
45
47
|
- bin/git-bump
|
46
48
|
- bin/git-cleanup
|
47
49
|
- bin/git-delete-remote-branch
|
50
|
+
- bin/git-files-changed
|
48
51
|
- bin/git-graph
|
49
52
|
- bin/git-merge-into-branch
|
50
53
|
- bin/git-minor
|
@@ -56,6 +59,7 @@ files:
|
|
56
59
|
- bin/git-sync
|
57
60
|
- bin/git-sync-fork
|
58
61
|
- bin/git-typo
|
62
|
+
- bin/git-typos
|
59
63
|
- bin/git-undo
|
60
64
|
- git-utils.gemspec
|
61
65
|
- lib/git-utils.rb
|