-104
@@ -1,104 +0,0 @@
|
||||
[include]
|
||||
path = ~/.gitconfig.email
|
||||
|
||||
[core]
|
||||
editor = nvim
|
||||
excludesfile = ~/.gitignore
|
||||
|
||||
[user]
|
||||
name = Hektor Misplon
|
||||
username = hektor
|
||||
signingKey = AEB98353B8D72E465C4236435151AF79E723F21C
|
||||
|
||||
[alias]
|
||||
d = diff
|
||||
ds = diff --staged
|
||||
a = add
|
||||
ap = add -p
|
||||
c = commit
|
||||
cm = commit -m
|
||||
cam = commit --amend
|
||||
l = log --pretty=format:"(%an)\\ \\ %h\\ \\ %ad\\ \\ %s" --date=short
|
||||
s = status --short
|
||||
sv = status --verbose
|
||||
co = checkout
|
||||
cob = checkout -b
|
||||
pullr = "pull --rebase --autostash"
|
||||
pushf = "push --force-with-lease"
|
||||
# Note these follow the naming convention of my `.bash_aliases`
|
||||
al = "!git config -l | grep alias | cut -c 7-"
|
||||
alf = "!git config -l | grep alias | cut -c 7- | fzf"
|
||||
al- = "!git config --local --unset $(git config -l | grep alias | cut --delimiter="=" --fields=1 | fzf)"
|
||||
rs = "restore --staged"
|
||||
rb = "rebase"
|
||||
rbi = "rebase -i"
|
||||
wt = "worktree"
|
||||
wtc = "config remote.origin.fetch \"+refs/heads/*:refs/remotes/origin/*\""
|
||||
|
||||
[color]
|
||||
ui = auto
|
||||
|
||||
[color "diff"]
|
||||
meta = yellow bold
|
||||
commit = green bold
|
||||
frag = magenta bold
|
||||
old = red bold
|
||||
new = green bold
|
||||
whitespace = red reverse
|
||||
|
||||
[color "diff-highlight"]
|
||||
oldNormal = red bold
|
||||
oldHighlight = "red bold 52"
|
||||
newNormal = "green bold"
|
||||
newHighlight = "green bold 22"
|
||||
|
||||
[color "branch"]
|
||||
current = normal bold
|
||||
local = normal
|
||||
remote = normal italic
|
||||
|
||||
[color "status"]
|
||||
added = green
|
||||
changed = yellow
|
||||
untracked = normal italic
|
||||
|
||||
[credential]
|
||||
helper = cache --timeout=3600
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[log]
|
||||
date = relative
|
||||
abbrevCommit = true
|
||||
|
||||
[credential "https://github.com"]
|
||||
helper = !gh auth git-credential
|
||||
|
||||
[merge]
|
||||
tool = nvimdiff
|
||||
conflictstyle = diff3
|
||||
[diff]
|
||||
colorMoved = zebra
|
||||
tool = nvimdiff
|
||||
[difftool]
|
||||
prompt = false
|
||||
[mergetool]
|
||||
prompt = false
|
||||
keepBackup = false
|
||||
[commit]
|
||||
gpgsign = false
|
||||
|
||||
[interactive]
|
||||
singleKey = true
|
||||
|
||||
[pull]
|
||||
rebase = true
|
||||
[rerere]
|
||||
enabled = true
|
||||
|
||||
[includeIf "gitdir:~/work/"]
|
||||
path = ~/.gitconfig.work
|
||||
|
||||
[includeIf "gitdir:~/nix-dev-shells/"]
|
||||
path = ~/.gitconfig.work
|
||||
@@ -1,2 +0,0 @@
|
||||
[user]
|
||||
email = your.email@example.com
|
||||
@@ -1,13 +0,0 @@
|
||||
[include]
|
||||
path = ~/.gitconfig.work.email
|
||||
|
||||
[core]
|
||||
longpaths = true
|
||||
|
||||
[user]
|
||||
name = Hektor Misplon
|
||||
username = hektor.misplon
|
||||
signingKey = 1C88BE828184CEE6
|
||||
|
||||
[commit]
|
||||
gpgsign = false
|
||||
@@ -1,2 +0,0 @@
|
||||
[user]
|
||||
email = your.work.email@example.com
|
||||
-108
@@ -1,108 +0,0 @@
|
||||
# Global gitignore
|
||||
# ______________________________
|
||||
|
||||
# General
|
||||
.idea/
|
||||
log/
|
||||
*.log
|
||||
|
||||
# Node
|
||||
npm-debug.log
|
||||
node_modules
|
||||
.npm-cache
|
||||
|
||||
# Python
|
||||
*.pyc
|
||||
|
||||
# Folder view
|
||||
.DS_Store
|
||||
Desktop.ini
|
||||
|
||||
# Thumbnail cache
|
||||
Thumbs.db
|
||||
|
||||
# Prerequisites, but not directories
|
||||
*.d
|
||||
!*.d/
|
||||
|
||||
# Object files
|
||||
*.o
|
||||
*.ko
|
||||
*.obj
|
||||
*.elf
|
||||
|
||||
# Linker output
|
||||
*.ilk
|
||||
*.map
|
||||
*.exp
|
||||
|
||||
# Precompiled Headers
|
||||
*.gch
|
||||
*.pch
|
||||
|
||||
# Libraries
|
||||
*.lib
|
||||
*.a
|
||||
*.la
|
||||
*.lo
|
||||
|
||||
# Shared objects (inc. Windows DLLs)
|
||||
*.dll
|
||||
*.so
|
||||
*.so.*
|
||||
*.dylib
|
||||
|
||||
# Executables
|
||||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
*.i*86
|
||||
*.x86_64
|
||||
*.hex
|
||||
/sent
|
||||
|
||||
# Debug files
|
||||
*.dSYM/
|
||||
*.su
|
||||
*.idb
|
||||
*.pdb
|
||||
|
||||
# Kernel Module Compile Results
|
||||
*.mod*
|
||||
!*.mod*.*
|
||||
*.cmd
|
||||
.tmp_versions/
|
||||
modules.order
|
||||
Module.symvers
|
||||
Mkfile.old
|
||||
dkms.conf
|
||||
|
||||
# Temp files
|
||||
*.swo
|
||||
*.swp
|
||||
*~
|
||||
|
||||
# Dotenv
|
||||
.env
|
||||
.envrc
|
||||
.direnv/
|
||||
.pre-commit-config.yaml
|
||||
|
||||
# Prevent module files from being ignored (e.g. NestJS)
|
||||
!*.module*
|
||||
|
||||
# Private files
|
||||
.bash_history
|
||||
.bash_aliases/private
|
||||
.bashrc.d/private
|
||||
desg/
|
||||
dev/
|
||||
dl/*
|
||||
!dl/.gitkeep
|
||||
doc/
|
||||
!doc/clips/.gitkeep
|
||||
.zk/*
|
||||
!.zk/Makefile
|
||||
!.zk/pandoc.css
|
||||
!.zk/scripts/
|
||||
!.zk/filters/
|
||||
Reference in New Issue
Block a user