git-utils 2.2.1 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d9003426f3e49eff5d5e7e597d4f0b21ea95c38dfa97453f7e766f728cbda59
4
- data.tar.gz: c653f029692db2cb113fd5d41e9e3c8a5c9b6d78080ca30ed9eaf57d3d4583ff
3
+ metadata.gz: 11c61cc784f39f3e593eb7c122c6c4cd1af95dbf6b15cf1c4dde306dbbc50ff0
4
+ data.tar.gz: 2a126aef4e73a643dc75a4c9e462e750961e2a3d019886e29ab080682c7502db
5
5
  SHA512:
6
- metadata.gz: ec26e29ebefbe8aa7359520b8139f69da6458bcf52ffa3e3d29e3d1ecad952ca3b05d4f26c8ff49a6c9f953778147cd51f8ba204d47cb1b38a660e9becc6c850
7
- data.tar.gz: 4968bffac62a24b268def50576e77cf129cbb52efbc1349106357bb6e572467d840df95d7667b4dcea90f4fe691dd9efb39494ed352f60fe443e27224e2172eb
6
+ metadata.gz: 56cdcc8662127380384ba7e757dda60fca3ba57fd784d2ce50b4bad486aaa3ed0d3c433fb82e8ec70bdbb86e64f263b3fde3e35fa144acb4fa79033a4193d4c6
7
+ data.tar.gz: ecb0e9d79682d2500769ba85878270675c4122e31784fd72deeffeb7846fae224ebdea63999595ea35fcb6e1d3f0e7013d5795f529e08c1e319f7340e2aa81f2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git-utils (2.2.1)
4
+ git-utils (2.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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)
@@ -83,7 +88,3 @@ The main purpose of `git sync` is to prepare the current branch for merging with
83
88
  $ git merge origin/master
84
89
 
85
90
  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
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # See which files changed.
4
+ system 'git log --name-only'
@@ -1,5 +1,5 @@
1
1
  module Git
2
2
  module Utils
3
- VERSION = "2.2.1"
3
+ VERSION = "2.3.0"
4
4
  end
5
5
  end
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.2.1
4
+ version: 2.3.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: 2023-06-29 00:00:00.000000000 Z
11
+ date: 2023-09-27 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
@@ -45,6 +46,7 @@ files:
45
46
  - bin/git-bump
46
47
  - bin/git-cleanup
47
48
  - bin/git-delete-remote-branch
49
+ - bin/git-files-changed
48
50
  - bin/git-graph
49
51
  - bin/git-merge-into-branch
50
52
  - bin/git-minor