If you need to do it just once
git push ssh://<temp_user>@<host>/<repo_path> <local_branch>:<remote_branch>
If you need two SSH keys
enters @editoDeTextoPreferity ~/. ssh/config
# Default GitHub user (joe)
Host github.com
HostName github.com
User git
IdentityFile /Users/joe/.ssh/id_rsa
# Client user (client)
Host github-client
HostName github.com
User git
IdentityFile /Users/joe/.ssh/id_rsa_client
then you can use it like this
git clone [email protected]:joe/my_repo.git
and
git clone git@github-client:client/his_repo.git
The global depends on the GIT Voce is using but the cool thing is to know the concept of GIT Global to make the right change to what Voce needs.
Okay, thank you so much for your help!
– Maurício