Skip to content

Instantly share code, notes, and snippets.

@thvinmei
Last active October 7, 2018 06:16
Show Gist options
  • Save thvinmei/376179b0ff1c6f185d4c52052ef47d33 to your computer and use it in GitHub Desktop.
Save thvinmei/376179b0ff1c6f185d4c52052ef47d33 to your computer and use it in GitHub Desktop.
Gitを使うために設定しているエイリアスとか
[user]
name = ***
email = ***
[core]
editor = emacs
excludesfile = /home/****/.gitignore_global
[commit]
template = /home/****/.git_template
[help]
autocorrect = 1
[color]
ui = auto
[alias]
co = checkout
us = reset
st = status
ct = commit
br = branch
graph = log --graph --oneline --branches --tags --remotes --date=short --pretty='format:%C(yellow bold)%h%Cblue%d%Creset %s %Cgreen%an,%Cred%ad%Creset' --abbrev-commit
gp = log --graph --oneline --branches --tags --remotes --date=short --pretty='format:%C(yellow bold)%h%Cblue%d%Creset %s %Cgreen%an,%Cred%ad%Creset' --abbrev-commit -n 35
pushall = push --all
mg = merge
rsh = reset --hard
rs = reset --hard
newbr = branch -b
delbr = branch -dX
rmdeleted = rm $(git ls-files --deleted)
df = diff
pomd = push origin master develop
ffs = flow feature start
fff = flow feature finish
[pretty]
medium-reverse = format:%C(red reverse)%d%Creset%C(white reverse) %h% Creset %C(green reverse) %an %Creset %C(cyan)%ar%Creset%n%C(white bold)%w(80)%s%Creset%n%n%w(80,2,2)%b
# Vi/Vim backup files
*~
*.swp
*.swo
# Emacs backup files
.DS_Store
*~
*#
.#*
ac-comphist.dat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment