LoginSignup
12
12

More than 5 years have passed since last update.

自前のサーバのレポジトリを GitHub for Windows から使う

Posted at

GitHub for Windows は実は GitHub 以外のレポジトリも扱えるらしい.

  1. サーバに公開鍵を登録する.
    C:\Users\yourname\.ssh\github_rsa.pub に公開鍵があるので,このファイルの内容をサーバの ~/.ssh/authorized_keys の末尾に追加する.

  2. サーバ上のレポジトリを,ローカルに clone する.

  3. GitHub for Windows の local の repositories を開いて,そこに clone したディレクトリをドラッグ&ドロップ.

  4. 後は普通に利用できる.

sync が失敗する場合は,レポジトリの primary remote が正しいかチェックしてみるといいかも.GitHub for Windows が使う ssh は PuTTY の設定を参照しないことに注意.

12
12
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
12
12