- Prepare a clean architecture Usar múltiples usuarios con Git - DEV Community
Add VSCode as default editor for git
Git config --global core.editor "code --wait"
Open the config file of the repository
Git config --edit --local
TODO for each account How To Work With Multiple Github Accounts on your PC
same
same
.ssh/config
Host ntacv
HostName github.com
User git
AddKeysToAgent yes
IdentitiesOnly yes
IdentityFile ~/.ssh/key_github_ntacv
1. Create a ssh key
2. Add key to ssh-agent
3. Add the pub to your github accout Settings/SSH
4. Create the config for multiple account
5. Clone repo Warning
FROM TO
git@github.com:username/repo.git
git@HOST:username/repo.git