Gitの初期設定メモ

忘れないうちに。

git config --global user.name "Attack Potato"
git config --global user.email "imouto.jiru@yahoo.co.jp"
git config --global color.ui auto

これで $HOME/.gitconfig に正しくuserとcolorが書き込まれていればおk。
ついでにclone repositoryについても念のため。この作業を行う時点で既に忘れていて、
bashhistoryを見ながらこの記事を書いていることに突っ込んではいけないぜ。

git clone ~/Dropbox/git-repository/xxxxxx.git xxxxxx

ここでもDropboxがないと作業できないポテトであった、まる