Skip to content

Can not push on current user github #81894

Closed Answered by arham4312
Smachy24 asked this question in Profile
Discussion options

You must be logged in to vote

Remember, changing user.email and user.name in Git config only affects commit authorship, not GitHub authentication.

1. Cache Credentials: Sometimes the issue can be with cached credentials on your machine. You can clear these out and re-enter them when prompted. On most systems, you can use the git credential-cache exit command to clear the cache.

2. Try Fresh Clone: If issues persist, clone the repository again with user A's credentials.

Replies: 3 comments

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants