user9917780
user9917780

Reputation:

Is it possible to get commits from another user?

So my problem is that when I click the commits button in my repo some weird things happen, I have commits from another user, whom I searched in https://github.com/{the user} and nothing appeared, so the user doesn't exist and actually no one committed unless me.

Upvotes: 0

Views: 76

Answers (1)

junkangli
junkangli

Reputation: 1212

Git uses a username to associate commits with an identity and that name can be set using the git config command.

Check your config to determine the username that is associated when you commit.

If you want to change it for commits that have already been committed, you may want to look at how to amend the commit author.

Upvotes: 1

Related Questions