3 ms·
.bashrc: alias g='git' .gitconfig: Tons of aliases, but most often used are: a = add amend = commit --amend b = branch co = checkout po = pull o
by metadat 2y ago
.bashrc:
alias g='git'
.gitconfig:
Tons of aliases, but most often used are:
a = add
amend = commit --amend
b = branch
co = checkout
po = pull origin
fa = fetch --all
reb = rebate
reba = rebase --abort
rebm = rebase master
unstage = git rm --cached
As TFA demonstrates, it's also possible to alias full-blown shell commands and even multiple shell (or git) commands, which is powerful.
Someday I would like to give jj a real try, too.
https://github.com/jj-vcs/jj https://github.com/jj-vcs/jj