gitconfig fixes - secure credentials
This commit is contained in:
@@ -285,6 +285,9 @@ bindsym $mod+m mode "$mode_monitor"
|
|||||||
# Auth with polkit-gnome
|
# Auth with polkit-gnome
|
||||||
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
|
||||||
|
# Keyring
|
||||||
|
exec gnome-keyring-daemon --start --components=secrets
|
||||||
|
|
||||||
# Import environment variables for user systemd service manager
|
# Import environment variables for user systemd service manager
|
||||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
|
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
|
||||||
|
|
||||||
|
|||||||
+15
-25
@@ -1,7 +1,7 @@
|
|||||||
[core]
|
[core]
|
||||||
filemode = false
|
filemode = false
|
||||||
pager = delta --diff-so-fancy
|
pager = delta
|
||||||
autorcrlf = true
|
autocrlf = input
|
||||||
editor = nvim
|
editor = nvim
|
||||||
[user]
|
[user]
|
||||||
name = Henrik Bakken
|
name = Henrik Bakken
|
||||||
@@ -13,8 +13,10 @@
|
|||||||
required = true
|
required = true
|
||||||
[interactive]
|
[interactive]
|
||||||
diffFilter = delta --color-only
|
diffFilter = delta --color-only
|
||||||
; [merge]
|
|
||||||
; conflictstyle = diff3
|
[merge]
|
||||||
|
conflictstyle = zdiff3
|
||||||
|
|
||||||
[delta]
|
[delta]
|
||||||
navigate = true
|
navigate = true
|
||||||
light = false
|
light = false
|
||||||
@@ -29,16 +31,14 @@
|
|||||||
plus-non-emph-style = bold green
|
plus-non-emph-style = bold green
|
||||||
plus-emph-style = bold reverse green
|
plus-emph-style = bold reverse green
|
||||||
[delta "interactive"]
|
[delta "interactive"]
|
||||||
keep-plus-minus-markers = false[delta "decorations"]
|
keep-plus-minus-markers = false
|
||||||
|
[delta "decorations"]
|
||||||
commit-decoration-style = bold yellow box ul
|
commit-decoration-style = bold yellow box ul
|
||||||
file-style = bold yellow ul
|
file-style = bold yellow ul
|
||||||
file-decoration-style = none
|
file-decoration-style = none
|
||||||
hunk-header-decoration-style = cyan box ul
|
hunk-header-decoration-style = cyan box ul
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
|
||||||
# better defaults
|
|
||||||
# https://blog.gitbutler.com/how-git-core-devs-configure-git/
|
|
||||||
[column]
|
[column]
|
||||||
ui = auto
|
ui = auto
|
||||||
[branch]
|
[branch]
|
||||||
@@ -57,6 +57,8 @@
|
|||||||
prune = true
|
prune = true
|
||||||
pruneTags = true
|
pruneTags = true
|
||||||
all = true
|
all = true
|
||||||
|
[pull]
|
||||||
|
rebase = true
|
||||||
[help]
|
[help]
|
||||||
autocorrect = prompt
|
autocorrect = prompt
|
||||||
[rebase]
|
[rebase]
|
||||||
@@ -64,24 +66,12 @@
|
|||||||
autoStash = true
|
autoStash = true
|
||||||
updateRefs = true
|
updateRefs = true
|
||||||
|
|
||||||
# Improved colors for the highlighted bits
|
[rerere]
|
||||||
# https://github.com/so-fancy/diff-so-fancy
|
enabled = true
|
||||||
|
autoupdate = true
|
||||||
[color]
|
[color]
|
||||||
ui = true
|
ui = true
|
||||||
[color "diff-highlight"]
|
|
||||||
oldNormal = red bold
|
|
||||||
oldHighlight = red bold 52
|
|
||||||
newNormal = green bold
|
|
||||||
newHighlight = green bold 22
|
|
||||||
[color "diff"]
|
|
||||||
meta = 11
|
|
||||||
frag = magenta bold
|
|
||||||
func = 146 bold
|
|
||||||
commit = yellow bold
|
|
||||||
old = red bold
|
|
||||||
new = green bold
|
|
||||||
whitespace = red reverse
|
|
||||||
[safe]
|
[safe]
|
||||||
directory = /tmp
|
directory = /tmp
|
||||||
[credential]
|
[credential]
|
||||||
helper = store
|
helper = /usr/lib/git-core/git-credential-libsecret
|
||||||
|
|||||||
Reference in New Issue
Block a user