Files
ChocolateyPackages/EthanBrown.GitAliases/tools/chocolateyUninstall.ps1
Iristyle 28dafef924 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 --
2013-03-12 18:37:36 -04:00

10 lines
241 B
PowerShell

$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
}