This commit is contained in:
Joe Lillibridge 2024-11-23 09:46:43 -06:00
parent 11d961b374
commit de5985d97e
No known key found for this signature in database
4 changed files with 25 additions and 2 deletions

View File

@ -34,3 +34,4 @@ vault = "Private"
[[ssh-keys]] [[ssh-keys]]
item = "SSH Key (target github)" item = "SSH Key (target github)"
vault = "Target" vault = "Target"

View File

@ -17,6 +17,27 @@ tst = status
co = checkout co = checkout
tco = checkout tco = checkout
ref = for-each-ref --count=10 --sort=-committerdate refs/heads/ --format='%(refname:short)' ref = for-each-ref --count=10 --sort=-committerdate refs/heads/ --format='%(refname:short)'
amend = commit --amend
untrack = rm --cached
unadd = restore --staged
softadd = add --intent-to-add
# init new git repo with empty initial commit
start = !git init && git commit --allow-empty -m \"Initial commit\"
# create a git repo including everything in this dir
initthis = !git init && git add . && git commit -m \"Bootstrap commit\"
slog = log --pretty=format:'%C(auto)%h %C(red)%as %C(blue)%aN%C(auto)%d%C(green) %s'
l = slog
# Logs commits matching current author
lome = "!git slog --author=$(git config --get user.name)"
# Switch to master/main/trunk; whatever the default branch is in the repo
swm = !git switch $(basename $(git symbolic-ref --short refs/remotes/origin/HEAD))
remoteurl = "remote get-url origin"
remotehttps = "!git remoteurl | sed -e 's/git@/https:\\/\\//'"
remotecopy = "!git remotehttps | pbcopy"
[include] [include]
path = .gitconfig.local path = .gitconfig.local

View File

@ -1 +1 @@
/Users/Z002QRN/Library/Application Support/iTerm2 /Users/joelillibridge/Library/Application Support/iTerm2

1
.zshrc
View File

@ -6,6 +6,7 @@ OPTIONS=(
append_history append_history
share_history share_history
histignorealldups histignorealldups
INC_APPEND_HISTORY
## Gonna slowly turn these on and see what I like ## Gonna slowly turn these on and see what I like