git: more alias

This commit is contained in:
Mathieu Maret 2020-11-10 21:45:44 +01:00
parent ea5d1e530d
commit e7b530a835
2 changed files with 9 additions and 1 deletions

View File

@ -69,3 +69,8 @@ captures/
### Android Patch ### ### Android Patch ###
gen-external-apklibs gen-external-apklibs
# Kernel
*.o.cmd
*.ko.cmd
modules.builtin
modules.order

View File

@ -17,10 +17,12 @@
br = branch br = branch
df = diff df = diff
dc = diff --cached dc = diff --cached
lg = log -p # lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
lolp = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit lolp = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg = log -p --pretty=fuller --abbrev-commit
lgg = log --pretty=fuller --abbrev-commit --stat
ls = ls-files ls = ls-files
dt = difftool # to have diff with meld dt = difftool # to have diff with meld
mylog = log --committer=\"$(git config user.name)\" mylog = log --committer=\"$(git config user.name)\"
@ -63,6 +65,7 @@
cc = "!git code-changes" cc = "!git code-changes"
fixup = "commit --fixup" fixup = "commit --fixup"
ri = "rebase -i --autosquash" ri = "rebase -i --autosquash"
up = pull --rebase
[branch] [branch]
#New branch track remote #New branch track remote
#autosetupmerge = always #autosetupmerge = always