mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
52 lines
1 KiB
Text
52 lines
1 KiB
Text
# set better default colors
|
|
[color]
|
|
ui = auto
|
|
[color "branch"]
|
|
current = green bold
|
|
local = green dim
|
|
remote = blue
|
|
[color "diff"]
|
|
meta = yellow bold
|
|
frag = magenta ul
|
|
old = magenta bold
|
|
new = green bold
|
|
[color "status"]
|
|
added = green
|
|
changed = yellow
|
|
untracked = magenta
|
|
|
|
# set the default branch to main
|
|
[init]
|
|
defaultBranch = main
|
|
|
|
# always push up local branches to the remote origin
|
|
[push]
|
|
autoSetupRemote = true
|
|
default = current
|
|
|
|
# default rebase commits to avoid merge issues
|
|
[pull]
|
|
rebase = true
|
|
|
|
# personal stuff like gpg config, username, etc
|
|
[includeIf "gitdir:~/"]
|
|
path = ~/.config/git/personal
|
|
|
|
# aliases, mostly fixing typos
|
|
[alias]
|
|
root = rev-parse --show-toplevel
|
|
ad = add
|
|
brnach = branch
|
|
rbanch = branch
|
|
commti = commit
|
|
comit = commit
|
|
ocmmit = commit
|
|
hceckout = checkout
|
|
chckout = checkout
|
|
chekout = checkout
|
|
checkut = checkout
|
|
checkuot = checkout
|
|
chekcout = checkout
|
|
idff = diff
|
|
psuh = push
|
|
puhs = push
|