Skip to content
\n

but it's had no effect - the commits always are pushed under my main GiitHub account, no matter what SSH key I use.

","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"

@jmkd3v wrote

\n
\n

Update: I was able to solve this problem by deleting my GitHub credentials and then changing my email and username on the local level.

\n
","upvoteCount":2,"url":"https://github.com/gitpython-developers/GitPython/discussions/1203#discussioncomment-495443"}}}

How do I push commits to a local repository with an SSH key? #1203

Answered by Byron
jmkd3v asked this question in Q&A
Discussion options

You must be logged in to vote

@jmkd3v wrote

Update: I was able to solve this problem by deleting my GitHub credentials and then changing my email and username on the local level.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@jmkd3v
Comment options

@jmkd3v
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants