I have rights to push to a GitHub repository. The rights are associated with one of my email addresses. I committed in sourcetree, and then tried to push to the github repository. It failed, because SourceTree was using the wrong email address (one of my other ones).
I have reconfigured Sourcetree to use the right email address in the repository settings, but it's ignoring that when I try to push the commit I've already made - and I can't figure out how to resolve this. reversing the commit says it's just going to create a new one, which leaves me in the same place.
How can I resolve this?
The easiest way is this:
You probably need to use the git command line to modify the commit metadata. I don't know how, but you may have more luck searching for an answer on StackExchange.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.