git-alias-manager

Install 20 power-user git aliases in one command. Share them with your team via JSON packs.

View on GitHub See Aliases
install
$ pip install git-alias-manager

Built-in aliases

git undo
reset HEAD~1 --mixed
Undo last commit, keep changes staged
history
git lg
log --oneline --graph --decorate --all
Pretty one-line graph log of all branches
log
git st
status -sb
Short status with branch info
status
git wip
commit -am 'WIP'
Quick WIP commit of all tracked changes
commit
git amend
commit --amend --no-edit
Amend last commit without changing message
commit
git pushf
push --force-with-lease
Safe force push, won't overwrite others' work
remote
git sync
pull --rebase origin
Rebase pull from origin
remote
git fresh
checkout -b
Create and switch to a new branch
branch
git save
stash push -m
Stash changes with a message
stash
git last
log -1 HEAD --stat
Show last commit with file stats
log
git br
branch -vv
List branches with tracking info
branch
git contributors
shortlog -sn --no-merges
List contributors by commit count
log

All commands

CommandDescription
gitalias listList all built-in aliases, filter with --category
gitalias show NAMEShow details of a specific alias
gitalias apply NAME...Apply specific aliases to git config
gitalias apply --allApply all 20 built-in aliases
gitalias remove NAMERemove a git alias
gitalias currentList all currently configured aliases
gitalias export FILEExport current aliases to JSON pack
gitalias import FILEImport aliases from JSON pack
gitalias export-builtins FILEExport all built-ins to JSON pack