Skip to content

Instantly share code, notes, and snippets.

@is8r
Created June 21, 2012 15:11
Show Gist options
  • Save is8r/2966311 to your computer and use it in GitHub Desktop.
Save is8r/2966311 to your computer and use it in GitHub Desktop.
.gitconfigの便利設定メモ
[alias]
st = status
co = checkout
di = diff
br = branch
ci = commit -a
cancel = reset --soft HEAD^ #直前のコミットを取り消す
zip = archive --format=zip --prefix=archive/ HEAD^ -o archive.zip #直前のコミットの差分ファイルをzipで抽出
ad = add .
cm = commit -m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment