Last active
December 26, 2016 07:27
-
-
Save oldsharp/77935f24545f8e4336a1 to your computer and use it in GitHub Desktop.
gitconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vi: set filetype=gitconfig : | |
[user] | |
name = Ray Chen | |
email = oldsharp@gmail.com | |
[core] | |
editor = vim | |
pager = less -+S | |
whitespace = trailing-space,space-before-tab,indent-with-non-tab,cr-at-eol | |
[color] | |
ui = auto | |
[credential] | |
# helper = cache --timeout=3600 | |
[alias] | |
br = branch | |
ci = commit --verbose | |
co = checkout | |
ff = merge --ff-only | |
st = status | |
pull = pull --ff-only | |
unstage = reset HEAD -- | |
flog = log --pretty=fuller | |
rlog = log --pretty=raw | |
plog = log --decorate --graph --oneline --date=relative --pretty='format:%C(auto,yellow)%h%C(auto,magenta)% G?%C(auto,blue)% ad%C(auto,green)% aN <%aE>%C(auto)% gD%d%C(auto,reset)%<(50,trunc)% s' | |
alog = log --decorate --graph --oneline --date=relative --pretty='format:%C(auto,yellow)%h%C(auto,magenta)% G?%C(auto,blue)% ad%C(auto,green)% aN <%aE>%C(auto)% gD%d%C(auto,reset)%<(50,trunc)% s' --all | |
# Filter for getting human-friendly diffs. | |
# To enable it, add these lines into your project's .git/info/attributes: | |
# *.po diff=gettext-uniq | |
# *.pot diff=gettext-uniq | |
[diff "gettext-uniq"] | |
textconv = msguniq -i --no-location --strict -s | |
cachetextconv = true | |
[http] | |
sslVerify = true | |
# Set URL-aware proxy rules for the HTTP/HTTPS protocol. | |
# See http://cms-sw.github.io/tutorial-proxy.html for other protocols | |
# (e.g. the SSH protocol and the git protocol). | |
# See also '--proxy', 'ENVIRONMENT' and 'PROXY PROTOCOL PREFIXES' | |
# sections for curl(1), 'core.gitProxy', 'http.proxy', 'http.<url>.*' | |
# and 'remote.<name>.proxy' sections for git-config(1). | |
[http "https://golang.org/"] | |
proxy = "socks5h://proxy.example.com:1080" | |
[format] | |
numbered = true | |
# Always take care of the content type headers. | |
# If use git-send-mail, you can safely comment these lines out. | |
# headers = "MIME-Version: 1.0" | |
# headers = "Content-Type: text/plain; charset=UTF-8" | |
# headers = "Content-Transfer-Encoding: 8bit" | |
# Beware that the default for git-send-email is to thread emails itself. | |
# If you want git-format-patch to take care of threading, you will want to | |
# ensure that threading is disabled for git send-email. | |
# Note also that Alpine does not allow customizing "Message-ID:" header, so you | |
# must add "Message-ID:", "In-Reply-To:", "References:" headers manually if you | |
# want to use Alpine to send patches and enable threading. | |
thread = false | |
# In addition to the patches, generate a cover letter file containing the | |
# shortlog and the overall diffstat. You can fill in a description in the file | |
# before sending it out. | |
coverLetter = auto | |
[sendemail] | |
smtpencryption = tls | |
smtpserver = smtp.gmail.com | |
smtpuser = oldsharp@gmail.com | |
smtpserverport = 587 | |
smtpdomain = jagger | |
# smtppass = example_password | |
assume8bitEncoding = UTF-8 | |
composeencoding = UTF-8 | |
transferEncoding = 8bit | |
from = Ray Chen <oldsharp@gmail.com> | |
chainreplyto = false | |
thread = true | |
xmailer = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment