gitについてのメモ(注意:自分用のメモです)

  • git init

gitリポジトリを作る

  • git config --global user.name 'saronpasu'

ユーザ登録

  • git config --global user.email 'saronpasu@example.orz'

メールアドレス登録

  • git status

ステータス確認

  • git add filename

ファイル追加

  • git remote add URI_RESOURCE

サーバ登録

  • git clone URI_RESOURCE LOCAL_DIRECTORY

チェックアウト

  • git commit -m MESSAGE

コミット

  • git push origin master

同期(ローカルからリモートへ)

  • git pull origin master

同期(リモートからローカルへ)

How to install.

$ sudo yum install git git-core git-svn git-cvs git-email
or
$ sudo apt-get install git git-core git-svn git-cvs git-email

http://code.google.com/p/msysgit/ ←ここからWindowsBinaryを拾う

いろんなところのリファレンスをかじりながらのメモなので、あまり参考にはなりません><
自分向けメモです。