Command | Alias | Description |
---|---|---|
git fixup |
gfu /gFu |
Create a fixup commit with the current staged changes for the specified commit. |
git branch-merged |
gbm |
A command to run on a PR (GitHub Pull Request) branch that has just been merged into master and deleted and can also be deleted locally. It also rebases the master branch onto origin/master and checks it out. |
git log-upstream |
glu |
A command for a brief git log that shows the current branch's difference to its upstream equivalent. Or the difference to origin/HEAD or origin/master , if no upsream is found. |
gcS |
A more concise alternative to git show . gcS stands for "git commit show". |
|
gpr |
Create a brief commit summary to use as a reference in other commits' messages. gpr stands for "git pretty ref". |
|
gsm |
Show the specified commit's message, including its title. gsm stands for "git show message". |
I'm using RichiH/vcsh for dotfile management.
Currently the following arch packages are used:
- lolcommits to take a picture every time I commit
# Install dependencies
yaourt -S lolcommits
# Clone
vcsh clone git@github.com:deiwin/git-dotfiles.git git
# Source the aliases (done automatically by my zsh conf)
source ~/.config/zshrc.d/git-aliases