Files
dotfiles/config/shared/git
2026-01-28 06:08:32 +02:00

27 lines
523 B
Plaintext

[user]
name = Tomas Mirchev
email = contact@tomastm.com
[core]
editor = nvim
excludesfile = ~/.gitignore
[init]
defaultBranch = main
[pull]
rebase = true
[push]
default = current
autoSetupRemote = true
[remote]
pushDefault = origin
[alias]
amend = commit --amend --no-edit
rename = branch -m
st = status
lg = log --oneline --graph --decorate --all
lga = log --oneline --graph --decorate --all --author=you
unstage = reset HEAD
last = log -1 HEAD
tags = tag -l
undo = reset --mixed HEAD~1