diff --git a/EthanBrown.GitAliases/EthanBrown.GitAliases.nuspec b/EthanBrown.GitAliases/EthanBrown.GitAliases.nuspec index 5d6a467..c09da26 100644 --- a/EthanBrown.GitAliases/EthanBrown.GitAliases.nuspec +++ b/EthanBrown.GitAliases/EthanBrown.GitAliases.nuspec @@ -12,11 +12,15 @@ aliases = config --get-regexp alias amend = commit --amend bl = blame -w -M -C + bra = git branch -ra changed = status -sb f = !git ls-files | grep -i + filelog = log -u 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 + lasttag = describe --tags --abbrev=0 pick = add -p + remotes = remote -v show stage = add standup = log --since yesterday --oneline --author {ME} stats = diff --stat diff --git a/EthanBrown.GitAliases/tools/chocolateyInstall.ps1 b/EthanBrown.GitAliases/tools/chocolateyInstall.ps1 index f30d1c6..26387a5 100644 --- a/EthanBrown.GitAliases/tools/chocolateyInstall.ps1 +++ b/EthanBrown.GitAliases/tools/chocolateyInstall.ps1 @@ -9,11 +9,15 @@ try { git config --global alias.aliases 'config --get-regexp alias' git config --global alias.amend 'commit --amend' git config --global alias.bl 'blame -w -M -C' + git config --global alias.bra 'git branch -ra' git config --global alias.changed 'status -sb' git config --global alias.f '!git ls-files | grep -i' + git config --global alias.filelog 'log -u' git config --global alias.hist "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue) [%an]%Creset' --abbrev-commit --date=relative" git config --global alias.last 'log -p --max-count=1 --word-diff' + git config --global alias.lasttag 'describe --tags --abbrev=0' git config --global alias.pick 'add -p' + git config --global alias.remotes 'remote -v show' git config --global alias.stage 'add' $userName = git config --global --get user.name if ($userName)