mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-10-31 21:15:25 +00:00
46 lines
1.5 KiB
Text
46 lines
1.5 KiB
Text
[user]
|
|
name = Sagi Dayan
|
|
email = sagidayan@gmail.com
|
|
|
|
[color]
|
|
# Use colors in Git commands that are capable of colored output when
|
|
# outputting to the terminal. (This is the default setting in Git ≥ 1.8.4.)
|
|
ui = auto
|
|
[color "branch"]
|
|
current = yellow reverse
|
|
local = yellow
|
|
remote = green
|
|
[color "diff"]
|
|
meta = yellow bold
|
|
frag = magenta bold
|
|
old = red bold
|
|
new = green bold
|
|
[color "status"]
|
|
added = yellow
|
|
changed = green
|
|
untracked = cyan
|
|
|
|
[format]
|
|
pretty = "Commit: %C(yellow)%H%nAuthor: %C(green)%aN <%aE>%nDate: (%C(red)%ar%Creset) %ai%nSubject: %s%n%n%b"
|
|
[core]
|
|
editor = flatpak run --file-forwarding re.sonny.Commit @@
|
|
[alias]
|
|
st = status -vs
|
|
lol = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
|
|
ada = add .
|
|
cm = commit -m
|
|
ck = checkout
|
|
fza = "!git ls-files -m -o --exclude-standard | fzf -m --print0 --reverse --header \"🞥 Select files to stage. use [tab] for multi selection\" --preview \"bat --diff --color=always --style=numbers,changes,grid {}\" | xargs -0 -t -o git add"
|
|
|
|
[diff]
|
|
tool = vimdiff
|
|
|
|
[difftool "meld_flatpak"]
|
|
cmd = flatpak run \"--filesystem=$(realpath \"$LOCAL\")\" \"--filesystem=$(realpath \"$REMOTE\")\" org.gnome.meld \"$LOCAL\" \"$REMOTE\"
|
|
[difftool]
|
|
prompt = false
|
|
|
|
[format]
|
|
pretty = "Commit: %C(yellow)%H%nAuthor: %C(green)%aN <%aE>%nDate: (%C(red)%ar%Creset) %ai%nSubject: %s%n%n%b"
|
|
[commit]
|
|
gpgsign = true
|