Files
configuration/conf/.gitconfig
2022-03-25 18:48:37 +01:00

49 lines
1.4 KiB
INI

[user]
email = laurent.drogou@rca.fr
name = Laurent Drogou
[core]
editor = vim
[alias]
st = status
br = branch
ch = checkout
rt = reset --hard HEAD
rto = "!git reset --hard origin/$(git currentbranch)"
lol = log --graph --decorate --pretty=format:'%C(red)%h%Creset -%C(yellow)%d%Creset %s %C(bold blue)%an%Creset %C(green)%cd' --abbrev-commit
lola = log --graph --decorate --pretty=format:'%C(red)%h%Creset -%C(yellow)%d%Creset %s %C(bold blue)%an%Creset %C(green)%cd' --abbrev-commit --all
currentbranch = "!git branch | grep \"^\\*\" | cut -d \" \" -f 2"
pl = "!git pull origin $(git currentbranch)"
ps = "!git push origin $(git currentbranch)"
psf = "!git push -f origin $(git currentbranch)"
can = "!git commit --amend --no-edit "
plm = "!git pull --rebase origin master"
[color]
branch = auto
diff = auto
status = auto
interactive = auto
[gui]
spellingdictionary = none
[submodule]
recurse = true
recurse = true
recurse = true
recurse = true
recurse = true
recurse = true
recurse = true
recurse = true
recurse = true
recurse = true
[fetch]
recurseSubmodules = true
recurseSubmodules = true
recurseSubmodules = true
recurseSubmodules = true
recurseSubmodules = true
recurseSubmodules = true
recurseSubmodules = true
recurseSubmodules = true
recurseSubmodules = true