wip
This commit is contained in:
parent
11d961b374
commit
de5985d97e
@ -34,3 +34,4 @@ vault = "Private"
|
|||||||
[[ssh-keys]]
|
[[ssh-keys]]
|
||||||
item = "SSH Key (target github)"
|
item = "SSH Key (target github)"
|
||||||
vault = "Target"
|
vault = "Target"
|
||||||
|
|
||||||
|
21
.gitconfig
21
.gitconfig
@ -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
|
||||||
|
@ -1 +1 @@
|
|||||||
/Users/Z002QRN/Library/Application Support/iTerm2
|
/Users/joelillibridge/Library/Application Support/iTerm2
|
Loading…
x
Reference in New Issue
Block a user