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?

GitとGithubの連携のやり方

Posted at

久々にこの作業をしてみると、
完全に忘れていて、時間を無駄にしたので忘備録。

連携したい環境のターミナルで、以下を入力する。

まずは、キー作成をする。
githubで使用しているアドレスを入力すること

ssh-keygen -t ed25519 -N "" -C メールアドレス

これで生成された id_ed25519.pub をgithubのSSH and GPG keyに追加する。

以下を試して、通ればOK
ssh -T git@github.com

~/.ssh$ ssh -T git@github.com
Hi 〇〇(github ID)! You've successfully authenticated, but GitHub does not provide shell access.

これで完了

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?