Skip to content

mikeqoo1/Note

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

262 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note雜物筆記

!重點更新! github 在2021年8月13日之後,用戶僅能使用個人存取權杖或是SSH金鑰,驗證Git操作

增加ssh-key
ssh-keygen -t rsa -b 4096 -C "你的信箱"
把pub的內容丟掉github的ssh-key設定
然後把專案遠端URL改ssh的形式

萬一有不同帳號但是用同一台機器

ssh-keygen -t ed25519 -f ~/.ssh/github_company -C "公司信箱"

cat ~/.ssh/github_company.pub

nano ~/.ssh/config

Host github-company
  HostName github.com
  User git
  IdentityFile ~/.ssh/github_company
  IdentitiesOnly yes

About

雜物筆記

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors