LoginSignup
0
0

More than 3 years have passed since last update.

Gitのリモートリポジトリに共有フォルダーのパスを指定する

Posted at

ファイルサーバーの共有フォルダにリモートリポジトリを置く場合、

ファイルサーバー側

リポジトリ用のフォルダを作成して、ベアリポジトリを生成

$ git init --bare myproject.git

クライアント側

クローンする場合

$ git clone //fileserver/repo/myproject.git

元々あるローカルリポジトリをリモートに接続する場合

$ git remote add origin //fileserver/repo/myproject.git
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0