Files
dotfiles/common/.gitconfig
Pratik Tripathy e47c3fa3f7 Config Updates:
- .gitconfig: Use local date for display
- .profile: Configure golang
- .profile: gtkrc, wget, ollama setting changed to adhere to XDG folder structure
- .zshrc: Use docker-compose oh-my-zsh plugin
2024-03-25 22:38:27 +05:30

47 lines
872 B
INI

[user]
email = mail@pratik.live
name = Pratik Tripathy
[core]
autocrlf = input
editor = nvim
excludesfile = ~/.gitignore
# Make `git rebase` safer on macOS
# More info: <http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/>
trustctime = false
[diff]
tool = vscode
[difftool "vscode"]
cmd = "code --wait --diff $LOCAL $REMOTE"
[merge]
tool = vscode
conflictstyle = diff3
[mergetool]
prompt = true
keepBackup = false
[mergetool "vscode"]
cmd = code --wait $MERGED
[log]
date = local
[alias]
ll = log --pretty=format:'%Cblue%cn (%ce)%Creset committed %Cred%h%Creset %Cgreen%cr%Creset:%n%B'
unstage = restore --staged .
cleanup = "!git remote prune origin && git gc && git clean -df && git stash clear"
[rerere]
enabled = true
[branch]
sort = -committerdate
[fetch]
writeCommitGraph = true