Skip to main content

Tedshd's Dev note

gitconfig

Table of Contents

# gitconfig

Mac gitconfig path

~/.gitconfig
[user]
		name = tedshd
		email = tedshd@gmail.com
[alias]
		st = status
		co = checkout
		br = branch
		d = difftool
[color]
		diff = auto
		status = auto
		branch = auto
		ui = auto
[credential]
		helper = osxkeychain
[push]
		default = simple
[core]
		editor = vim
[diff]
		tool = vimdiff
[difftool]
		prompt = false

vim diff

git d

terminal

git diff