Skip to content

Instantly share code, notes, and snippets.

@tarukosu
Last active April 6, 2018 03:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarukosu/90620e4344a33bdd0b32ee3f7c9ddcf3 to your computer and use it in GitHub Desktop.
Save tarukosu/90620e4344a33bdd0b32ee3f7c9ddcf3 to your computer and use it in GitHub Desktop.
.gitconfig
[core]
pager = less -cm
quotepath = false
[user]
name = Furuta Yusuke
email = 4415085+tarukosu@users.noreply.github.com
[alias]
# いい感じのグラフでログを表示
graph = log --graph --date=short --decorate=short --pretty=format:'%Cgreen%h %Creset%cd %Cblue%cn %Cred%d %Creset%s'
co = checkout
br = branch
st = status
cm = commit
gr = grep
# Untracked filesを表示せず,not stagedと,stagedだけの状態を出力する
stt = status -uno
# 行ごとの差分じゃなくて,単語レベルでの差分を色付きで表示する
difff = diff --word-diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment