summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2026-10-19 09:10:32 -0500
committerBrad Clawsie <brad@b7j0c.org>2026-10-19 09:10:32 -0500
commit62c84b3299cd668c2532b09b1dc8fa62750ccdfe (patch)
tree001eb3df0442df1c1a66d57f0b20b134a7ee24bb /git
parent58d39f5a258f026005759c59caf80337ee87ccdd (diff)
fu di
Diffstat (limited to 'git')
-rw-r--r--git/du-dotgitconfig76
1 files changed, 0 insertions, 76 deletions
diff --git a/git/du-dotgitconfig b/git/du-dotgitconfig
deleted file mode 100644
index de8b9a8..0000000
--- a/git/du-dotgitconfig
+++ /dev/null
@@ -1,76 +0,0 @@
-[user]
- name = Brad Clawsie
- email = brad.clawsie@defenseunicorns.com
- signingkey = ~/.ssh/id_defenseunicorns.pub
-
-[core]
- pager = delta
- editor = nvim
- autocrlf = input
-
-[init]
- defaultBranch = master
-
-[commit]
- gpgsign = true
-
-[gpg]
- format = ssh
-
-[gpg "ssh"]
- allowedSignersFile = ~/.ssh/allowed_signers
-
-[pull]
- ff = only
-
-[push]
- autoSetupRemote = true
-
-[merge]
- conflictstyle = diff3
-
-[diff]
- colorMoved = default
-
-[interactive]
- diffFilter = delta --color-only
-
-[delta]
- navigate = true
- line-numbers = true
-
-[alias]
- st = status -sb
- tree = log --graph --pretty=format:'%C(yellow)%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
- undo = reset --soft HEAD~1
- ghosts = !"git fsck --lost-found | grep commit | cut -d ' ' -f 3 | xargs -n 1 git log -n 1 --pretty=format:'%C(red)%h%C(reset) %s' --color"
- last = log -1 HEAD
-
-[tig]
- main-view-date-display = no
- # Refresh the view automatically when the focus returns to tig
- refresh-mode = auto
-
-[tig "bind"]
- # --- Status & Committing ---
- # 'C' to commit with signature (your original)
- status = C !git commit -S
- # 'A' to amend the last commit (crucial for quick fixes)
- status = A !git commit --amend
-
- # --- Staging & Hunks ---
- # While 'u' stages a whole file, '\' in the status/stage view
- # will split a hunk if it's too large to stage at once.
-
- # --- Stashing (Global bindings) ---
- # 'Z' to stash everything (including untracked files)
- generic = Z !git stash -u
- # 'P' to pop the most recent stash
- generic = P !git stash pop
- # 'S' to stash ONLY what you have staged (great for "saving" a specific piece of work)
- generic = S !git stash push --staged -m \"%(prompt Stash Name: )\"
-
- # --- Branch Management ---
- # 'B' in the 'main' view to quickly create a new branch
- main = B !?git checkout -b "%(prompt New branch name: )"
-