github / github/vscode-github-actions
How to use different github.com accounts in different vscode instances
- 主要言語
- TypeScript
- スター
- 660
- フォーク
- 213
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hello,
I have 2 github.com accounts (perso and work).
In order to use both under the same linux bash with git commands, I use the method described [here](https://vanthanhtran245.github.io/use-multiple-ssh-key-for-different-git-accounts/).
```config
# Personal GitHub account
Host github.com
HostName github.com
User git
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
# Work GitHub account
Host github.com-work
HostName github.com
User git
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/work_rsa
```
For personal githubom repos:
`git remote add origin git@github.com:[my work GitHub group]/[my project].git`
For work github.com repos:
`git remote add origin git@github.com-work:[my work GitHub group]/[my project].git`
With vscode, i can only authenticated to a single github.com account, is there an easier way to have both available ?
コントリビューションガイド
調査の方向性
Start by reviewing the VS Code GitHub authentication behavior described in the issue and the vscode-github-actions extension documentation. Determine whether multiple github.com accounts across separate VS Code instances are supported; done should clearly document the supported workflow or confirm that the capability is unavailable.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- bash, git, github, vscode
- 領域
- desktop, developer-experience, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100