Skip to content

Commit eee1106

Browse files
authored
Merge pull request #67 from sanfx/sanfx-patch-1
added two git commands git age and git maildiff
2 parents f074f62 + e547360 commit eee1106

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ If you aren't using any zsh frameworks, or if you're a bash user, do the followi
8484

8585
| Script | Original Source | Description |
8686
| ------ | --------------- | ----------- |
87+
| `git-age` | Kristoffer Gronlund's [wiki](https://github.com/krig/git-age/wiki) | A git-blame viewer, written using PyGTK.|
8788
| `git-attic` | Christian Neukirchen's [blog](http://chneukirchen.org/blog/archive/2013/01/a-grab-bag-of-git-tricks.html) | Displays a list of deleted files in your repo. The output is designed to be copy and pasted: Pass the second field to `git show` to display the file contents, or just select the hash without ^ to see the commit where removal happened. |
8889
| `git-big-file` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Show files in the repo larger than a threshold size. |
8990
| `git-change-author` | Michael Demmer in [jut-io/git-scripts](https://github.com/jut-io/git-scripts/blob/master/bin/git-change-author) | Change one author/email in the history to another. |
@@ -113,6 +114,7 @@ If you aren't using any zsh frameworks, or if you're a bash user, do the followi
113114
| `git-incoming-commits` | Ryan Tomayko's [dotfiles](https://github.com/rtomayko/dotfiles) | Adds a remote for the current repository for the given github username. |
114115
| `git-incoming` | Michael Markert's [dotfiles](https://github.com/cofi/dotfiles) | Show commits in the tracking branch that are not in the local branch. |
115116
| `git-ls-object-refs` | Ryan Tomayko's [dotfiles](https://github.com/rtomayko/dotfiles) | Find references to an object with SHA1 in refs, commits, and trees. All of them. |
117+
| `git-maildiff` | Sanjeev Kumar's [blogpost](http://www.devilsan.com/blog/my-first-git-command-git-ipush-using-python) | A simple git command to email diff in color to reviewer/ co-worker. |
116118
| `git-maxpack` | John Wiegley's [git-scripts](https://github.com/jwiegley/git-scripts) | Compress a repo's pack files as much as possible. |
117119
| `git-move-commits` | Corey Oordt's [git-scripts](https://github.com/coordt/git-scripts/blob/master/git-move-commits) | `git move-commits num-commits correct-branch` moves the last n commits to correct-branch (creating it if necessary). |
118120
| `git-neck` | Christian Neukirchen's [blog](http://chneukirchen.org/blog/archive/2013/01/a-grab-bag-of-git-tricks.html) | Show commits from the HEAD until the first branching point. Companion script for `git-trail`. |

git-extra-commands.plugin.zsh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ alias gitroot='cd $(git rev-parse --show-toplevel) && echo "$_"'
2222
# incoming-commits (appears to be a dupe of grab)
2323
# mark-all-resolved (git: 'conflicts' is not a git command.)
2424
zstyle ':completion:*:*:git:*' user-commands \
25+
age:'A git-blame viewer, written using PyGTK written by Kristoffer Gronlund ' \
2526
big-file:'List disk size of files in ref' \
2627
change-author:'Rewrite commits, updating author/email' \
2728
changes:'List authors/emails with commit count' \
@@ -38,6 +39,7 @@ zstyle ':completion:*:*:git:*' user-commands \
3839
improved-merge:'Sophisticated git merge with integrated CI check and automatic cleanup upon completion' \
3940
incoming:'Fetch remote tracking branch, and list incoming commits' \
4041
ls-object-refs:'Find references to <object> SHA1 in refs, commits, and trees. All of them' \
42+
maildiff: 'Simple git command to email diff in color to reviewer/co-worker & optionally attach patch file.' \
4143
maxpack:'Repack with maximum compression' \
4244
nuke:'Nukes a branch locally and on the origin remote' \
4345
object-deflate:'Deflate an loose object file and write to standard output' \

0 commit comments

Comments
 (0)