LoginSignup
7
5

More than 5 years have passed since last update.

GitHub 2段階認証環境におけるコミットなどの実行

Posted at

2段階認証にすると通常のID/PWでアクセスると認証に失敗するので、アクセストークンを作成し、このトークンをパスワードとして使用する必要がある。

アクセストークンの作成方法は以下を参照
https://help.github.com/articles/creating-an-access-token-for-command-line-use/

$ git clone https://{ユーザ名}:{アクセストークン}@github.com/XXXXX.git
7
5
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
7
5