When ( state = :pre_author || state = :post_author ) & l =~ /Author: (. # You can find the GNU General Public License at:ĭef obfuscate gsub (, " at the " ). # GNU General Public License for more details. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # but WITHOUT ANY WARRANTY without even the implied warranty of # This program is distributed in the hope that it will be useful,
# the Free Software Foundation, either version 3 of the License, or (at # it under the terms of the GNU General Public License as published by # This program is free software: you can redistribute it and/or modify # git-rank-contributors Copyright 2008 William Morgan. # Probably not without some editing, because people often commit from more # Output may or may not be suitable for inclusion in a CREDITS file. # A change counts twice as much as a plain addition or deletion. # rank contributors by the total size of the diffs they're responsible for. # git-rank-contributors: a simple script to trace through the logs and # this will wait 2 seconds before autocorrecting typos like 'git staatus' Ll = log -date=short -pretty='format:%h %an %cd %s' -graph -color HEAD~10. Rename that shortcut to Windows PowerShell (bootstrap) and then move it to the Start Screen folder. Use the file explorer to navigate to :WindowsSystem32WindowsPowerShellv1.0 and right-click on powershell.exe to create a shortcut on the desktop.
Lr = log -color -decorate=short -reverse -patch -first-parent Configure a simple Git PowerShell command window. Rank-contributers = !~/bin/git-rank-contributersĬredit = commit -amend -author "$1 " -C HEADĭelete-local-merged = !git branch -d `git branch -merged | grep -v '^* ' | grep -v 'master ' | tr -d '\n ' ` Lg = log -graph -pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ar) %C(bold blue)%Creset' -abbrev-commit -date=relative # detect when a file is renamed in diffs (so it doesn't show '-' the old file '+' the new file)