mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-14 07:26:44 +00:00
37 lines
824 B
Plaintext
37 lines
824 B
Plaintext
[init]
|
|
defaultBranch = main
|
|
[user]
|
|
email = i@d0zingcat.dev
|
|
name = Lee Tang
|
|
signingkey = 39E301C2
|
|
[url "https://"]
|
|
insteadOf = git://
|
|
[core]
|
|
editor = nvim
|
|
excludesfile = /Users/d0zingcat/.config/git/.gitignore
|
|
[commit]
|
|
gpgsign = true
|
|
[pager]
|
|
difftool = true
|
|
[diff]
|
|
external = difft
|
|
tool = difftastic
|
|
[difftool]
|
|
prompt = false
|
|
[difftool "difftastic"]
|
|
cmd = difft "$LOCAL" "$REMOTE"
|
|
[alias]
|
|
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
|
pr = pull --rebase origin
|
|
unstage = reset HEAD --
|
|
p = push
|
|
st = status
|
|
co = checkout
|
|
cb = checkout -b
|
|
br = branch
|
|
cm = commit -s -m
|
|
ca = commit --amend -s --no-edit
|
|
d = diff
|
|
ds = diff --staged
|
|
dc = diff --cached
|