LoginSignup
16

More than 5 years have passed since last update.

GitHub のプライベートリポジトリを SSH key の登録なしで git clone する

Last updated at Posted at 2015-06-25

手順

  1. GitHub で Personal settings から Personal access tokens のページを開き、 Generate new token でトークンを発行する。
  2. git clone する時、パスワードの代わりに上記トークンを入力する。

サクッと git clone したい時は SSH key を登録するより早いです。

注記

この方法は HTTPS でのみ有効です。 SSH の場合は SSH Key を登録して下さい。

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
16