2
3

More than 5 years have passed since last update.

アクセストークンを利用したHTTPSによるGithubへのpush/pull

Posted at

手順

  • httpsでgit clone
  • github.comでaccess tokenを作成する。
  • % git config --global credential.helper osxkeychain を実行して設定。
    • これで覚えるのがほぼ不可能なtokenを毎回入力しなくて良いようになるはず。
  • git pushして、usernameは通常通り自分のgithub.comのID、passwordは2で作成したaccess tokenを入力する。
  • 次回以降のpush/pullは何も聞かれずにできるはず。

参考

2
3
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
2
3