1
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 5 years have passed since last update.

Linuxでhttpsプロトコルでもgithubのパスワードを毎回尋ねられないようにする

1
Last updated at Posted at 2019-05-05

他の手順がsshだったり、Personal Access Token使っていなかったりしたので、書きました。

Personal Access Tokenをrepoにチェックを入れて生成する。

~/.netrc に、以下の通りログインIDとトークンを書き込む。パスワードにトークンを書き込む。

machine github.com
login 74th
password 0123456789abcdef0123456789abcdef01234567

一応、自分以外閲覧不可にしておく。

chmod 600 ~/.netrc
1
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
1
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?