Files
dotfiles/configs/git/gitconfig
T
tmerritt 06a62f864d add
git lg
add some PS4 dev stuff
2023-09-24 16:52:49 -04:00

56 lines
1.5 KiB
Plaintext

[user]
email = trevor.merritt@gmail.com
name = Trevor Merritt
[init]
defaultBranch = master
[push]
default = current
[color]
ui = auto
[alias]
aa = add --all
ap = add --patch
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
ci = commit -v
co = checkout
pf = push --force-with-lease
st = status
sr = submodule update --remote --init
sms = submodule foreach 'git stash'
smp = submodule foreach 'git stash pop'
# smbr = submodule foreach 'git checkout '
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg = lg1
[core]
excludesfile = ~/.gitignore
autocrlf = input
[merge]
ff = only
[commit]
template = ~/.gitmessage
[fetch]
prune = true
pruneTags = true
recurseSubmodules = true
[rebase]
autosquash = true
autostash = true
[include]
path = ~/.gitconfig.local
[diff]
colorMoved = zebra
[branch]
autoSetupRebase=always
[checkout]
defaultRemote=origin
[status]
submodulessummary = true
[submodule]
recurse = true
rebase = true
[safe]
directory = /opt/ps4/OpenOrbis-PS4-Toolchain