0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

GitHub の personal access token の使い方

Last updated at Posted at 2020-12-27
  1. トークンの取得

こちらに方法が示されています。
Creating a token

ブラウザーで GitHub にサインインします。

Settings -> Developer settings -> Personal access tokens
tokens_mar11.png

トークンを作成すると、画面に表示されるので、それをコピーペーストで保存します。40 文字の数字とアルファペットです。

  1. トークンの使用
    git push をかけた時、パスワードとして入力します。
$ git push -u origin master
Username for 'https://github.com': ekzemplaro
Password for 'https://ekzemplaro@github.com': 

次のバージョンで確認しました。

$ git --version
git version 2.32.0
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?