#author("2022-07-16T16:50:55+09:00","","")
#author("2022-07-16T16:53:19+09:00","","")
# Github
- Github登録
- Git Bashインストール
- Githubへssh接続
- リポジトリへ自身のローカル環境をアップ
- エイリアス設定方法
- test

#ref(1.PNG,80%);
#ref(./1.PNG,80%);
## 登録方法
Githubに登録する をクリックする

![test](./github/use%20crate/1.PNG)
Username<br>
Email address<br>
Password<br>
入力する

![test](./github/use%20crate/2.PNG)
下へスクロール 作成ボタンをクリックする

## リポジトリの作成を行う
リポジトリ名を記載する ※任意の名前
![test](./github/use%20crate/3.PNG)

リポジトリを作成するをクリックする

## Gitbashインストール方法

https://gitforwindows.org/

![test](./github/windwos%20for%20git/1.PNG)

![test](./github/windwos%20for%20git/2.PNG)

![test](./github/windwos%20for%20git/3.PNG)

![test](./github/windwos%20for%20git/4.PNG)

![test](./github/windwos%20for%20git/5.PNG)

![test](./github/windwos%20for%20git/6.PNG)

![test](./github/windwos%20for%20git/7.PNG)

![test](./github/windwos%20for%20git/8.PNG)

![test](./github/windwos%20for%20git/9.PNG)

![test](./github/windwos%20for%20git/10.PNG)

![test](./github/windwos%20for%20git/11.PNG)

![test](./github/windwos%20for%20git/12.PNG)

![test](./github/windwos%20for%20git/13.PNG)

![test](./github/windwos%20for%20git/14.PNG)

![test](./github/windwos%20for%20git/15.PNG)

![test](./github/windwos%20for%20git/16.PNG)

## Github SSH接続
Git Bashを起動する

Gitの情報を登録する
```
$ git config --global user.name "sample name"
$ git config --global user.email sample@example.com
```

登録の確認<br>
- user.name<br>
- user.email<br>
```
$ git config -l
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
http.sslbackend=openssl
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
core.autocrlf=true
core.fscache=true
core.symlinks=true
pull.rebase=false
credential.helper=manager-core
credential.https://dev.azure.com.usehttppath=true
init.defaultbranch=master
core.editor="C:\Users\el000\AppData\Local\Programs\Microsoft VS Code\bin\code" --wait
user.name=el-shinhasegawa
user.email=testhasegawauser@gmail.com
```

### 新しい SSH キーを生成する
```
ls ~/.ssh
```

```
ssh-keygen -t ed25519 -C "GitHubに登録したメールアドレス"
```

```
ls ~/.ssh
```

### GitHub アカウントへSSHキーを追加する
```
clip < ~/.ssh/id_ed25519.pub
```


### SSH 接続を確認する
```
ssh -T git@github.com
```
あなたのユーザー名が表示されたら接続完了です。









git hub ssh接続
- list

https://docs.github.com/ja/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account

- list

https://qiita.com/shizuma/items/2b2f873a0034839e47ce

- list
https://qiita.com/shizuma/items/2b2f873a0034839e47ce


- list

https://zenn.dev/schnell/articles/0e1c2e9db5c08d
- list
https://coffee-nominagara.com/2018-06-22-093801
- これ参考になりそう

https://prog-8.com/docs/git-env-win

https://yu-report.com/entry/githubssh/


ssh-keygen -t ed25519 -C "GitHubに登録したメールアドレス"


test

dd

dddd


dddddedd
ddd

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS