Ground Sunlight

Windowsで作る - PHPプログラミングの開発環境

ユーザ用ツール

サイト用ツール


git2:server

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
git2:server [2020/06/16 14:35]
y2sunlight [Gitの設定]
git2:server [2020/06/16 15:20] (現在)
y2sunlight [Gitサーバーの運用]
行 388: 行 388:
 Adding password for user y2sunlight Adding password for user y2sunlight
 </code> </code>
 +
 +>2回目以降は ''htpasswd .htpasswd new-user'' で ''-c''オプションは不要です。
  
 ''.htpasswd'' の内容は以下のようになっています。 ''.htpasswd'' の内容は以下のようになっています。
行 413: 行 415:
 例: 例:
 <code> <code>
-git clone http://localhost/git/sandboz.git +git clone http://localhost/git/sandbox.git 
-git clone http//192.168.1.100/git/sandboz.git+git clone http//192.168.1.100/git/sandbox.git
 </code> </code>
  
行 464: 行 466:
  
 <code> <code>
-cd /var/git                  # 共有リポジトリのルートディレクトリに移動する +cd /var/git               # 共有リポジトリのルートディレクトリに移動する 
-htpasswd -c .htpasswd USER   # 新しいユーザ(例:USER)を作成する +htpasswd .htpasswd USER   # 新しいユーザ(例:USER)を作成する 
-New password:                # パスワードの入力 +New password:             # パスワードの入力 
-Re-type new password:        # (再入力)+Re-type new password:     # (再入力)
 </code> </code>
  
git2/server.1592285713.txt.gz · 最終更新: 2020/06/16 14:35 by y2sunlight