Background: I have a system, I use it for both hobbies and office projects. I have another github reposition for both places. Ideally, I would like to commit with different usernames. Therefore, I create repositories and local user names: git config --local user.name "Local Name"
The problem occurs when pressing the same ssh keys does not work for both repositories. If I change the ssh key for one repo, this creates problems for me when clicking on another repo using the same ssh keys. How can this be solved?
source share