git

いつも忘れるのでメモ。

Gitの操作方法

サーバ側

リポジトリにするディレクトリで

# git --bare init

クライアント側

リモートから引っ張ってくるとき

# git clone ssh://user@host/full_to_repository

記録

# git add

コミット

# git commit -m "comment"

リモートに投げつける

# git push origin master

ブランチのやり方は知らぬ