- バックアップ一覧
- 現在との差分 を表示
- ソース を表示
- バックアップ を表示
- Git/git init/既存ファイルをインポートして共用リポジトリを作る へ行く。
- 1 (2011-12-16 (金) 08:51:34)
- 追加された行はこの色です。
- 削除された行はこの色です。
* 既存ファイルをインポートして共用リポジトリを作る [#i649502c] ** 共用リポジトリの作成 [#mdc904d4] mkdir -p /var/git/repos/project1.git cd /var/git/repos/project1.git git init --bare ** 既存ファイルのインポート [#f059fdfd] cd /home/taro/tmp touch sample.txt git init git add . git commit -m 'import' ** 共用リポジトリにpush [#jefad404] git remote add origin file:///var/git/repos/project1.git git push origin master ** 個人用作業リポジトリの作成 [#o5021f78] cd /home/taro/work git clone file:///var/git/repos/project1.git project1