LoginSignup
0
0

More than 1 year has passed since last update.

hubコマンドをインストールした後、設定したトークンを変更したいとき

Last updated at Posted at 2021-12-17

hub使ったことなく、設定したとき調べたことの備忘録。

$ brew install hub
$ hub
github.com username:
github.com password:

インストール後このような入力を求められるが、MFA (多要素認証) を有効化している場合は、password の部分に personal access tokenを入力する必要があります。

のちほどトークンを変更したくなった場合、 ~/.config/hub を開けば、設定したものが記録されているので、コマンドでもテキストエディタでもいいので書き換えれば完了!

貼り付けた画像_2021_12_17_18_06.png

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