ローカルでgit initした後でリモートにpushする手順
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[Git]]
*ローカル [#x0973e68]
$ cd ソースのあるディレクトリ
$ git init
$ git add .
$ git commit -m "first commit"
*リモート [#o3e1c6e2]
# cd bareリポジトリを置く場所へ
# git init --bare --shared リポジトリ名
*ローカル [#xda0d9ea]
# git remote add origin ssh://user01@example.com/var/git...
# git push -u origin master
参考URL:http://cameong.hatenablog.com/entry/20120808/134...
終了行:
[[Git]]
*ローカル [#x0973e68]
$ cd ソースのあるディレクトリ
$ git init
$ git add .
$ git commit -m "first commit"
*リモート [#o3e1c6e2]
# cd bareリポジトリを置く場所へ
# git init --bare --shared リポジトリ名
*ローカル [#xda0d9ea]
# git remote add origin ssh://user01@example.com/var/git...
# git push -u origin master
参考URL:http://cameong.hatenablog.com/entry/20120808/134...
ページ名: