Skip to content

Instantly share code, notes, and snippets.

@syohex
Last active July 3, 2016 12:15
Show Gist options
  • Save syohex/059ffe0b69e036c7336f01897d4aad91 to your computer and use it in GitHub Desktop.
Save syohex/059ffe0b69e036c7336f01897d4aad91 to your computer and use it in GitHub Desktop.
my gitconfig without private information
autoconf
automake
bazaar
cmake
coreutils
elixir
erlang
fontconfig
freetype
gauche
gd
gdbm
ghostscript
git
gmp
gnuplot
gnutls
go
imagemagick
ispell
jbig2dec
jpeg
libevent
libogg
libpng
libtasn1
libtiff
libtool
libvorbis
libxml2
little-cms2
lua
mercurial
mysql
nettle
openssl
pcre
pkg-config
python3
readline
scala
sdl2
sqlite
texinfo
the_silver_searcher
tmux
unixodbc
vim
webp
wxmac
xz
zsh
[user]
name = Syohei YOSHIDA
[color]
branch = auto
diff = auto
status = auto
ui = auto
[color "branch"]
current = yellow reverse
local = cyan
remote = green
[color "status"]
added = green bold
changed = red
untracked = cyan
[core]
editor=emacsclient
pager=less
[alias]
br = branch
st = status -s -b
ci = commit
co = checkout
dw = diff --color-words
tr = log --graph --pretty='format:%C(yellow)%h%Creset %s %Cgreen(%an)%Creset %Cred%d%Creset'
logg = log --stat --pretty=format:'%C(yellow)%h %Cgreen[%ar] %C(bold)%C(cyan)%an %Creset%s %Cred%d'
tag-date= log --tags --simplify-by-decoration --pretty='format:%ai %d'
branch-date= log --branches --simplify-by-decoration --pretty='format:%ai %d'
delete-merged-branches = !git branch --merged | grep -v \\* | xargs -I % git branch -d %
pr-fetch = !sh -c 'git fetch origin pull/$1/head:pr-$1' -
[merge]
ff = false
[rebase]
stat=true
[ghq]
root=~/go
[issue]
type = github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment