EthanBrown.GitAliases

aliases = config --get-regexp alias
    amend = commit --amend
    bl = blame -w -M -C
    changed = status -sb
    f = !git ls-files | grep -i
    hist = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue) [%an]%Creset' --abbrev-commit --date=relative
    last = log -p --max-count=1 --word-diff
    pick = add -p
    stage = add
    standup = log --since yesterday --oneline --author Iristyle
    stats = diff --stat
    sync = ! git fetch upstream -v && git fetch origin -v && git checkout master && git merge upstream/master
    undo = reset head~
    unstage = reset HEAD
    wdiff = diff --word-diff
    who = shortlog -s -e --
This commit is contained in:
Iristyle
2013-03-12 18:37:36 -04:00
parent 3e9c281e7b
commit 28dafef924
3 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
$package = 'EthanBrown.GitAliases'
try {
Write-Host "Manually edit $ENV:USERPROFILE\.gitconfig to revert package changes"
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}