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 1 year has passed since last update.

GitHubのリポジトリを作るときに参考にしたサイト

Last updated at Posted at 2021-08-31

GitHubのアカウント管理について

GitHub アカウントへの新しい SSH キーの追加

業務で良く使うアカウントは、globalにアカウント情報を設定する。(~/.gitconfig)

リポジトリ作成

  • Githubに新規リポジトリを追加
    • => HTTPSのパスワード認証はGitHub非推奨で使えなくなっているのでSSH接続でやる必要がありそう
    • => git remote add origin [リモートリポジトリ情報] をSSHの情報で行う
  • SSHでのgitへの接続
    • そのままだとSSHの秘密鍵が登録されておらず以下のように怒られる
ERROR: Repository not found.
fatal: Could not read from remote repository.

httpsで接続してしまったのをSSHに変えたい

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?