MacでGitを使う
初期設定
自分の名前とE-mailを設定
$ git config --global user.name "名前" $ git config --global user.email "メール"
カラー出力
$ git config --global color.ui auto
変更点を確認
ファイルの変更点を確認
$ git diff
ファイルの変更を記録
変更したファイルの状態を記録
$ git add xx.rb
コミット
変更内容をコミット
$ git commit -m "fixed bug"