Skip to content

Unknown Name Appearing On Commits Of My Repository #58240

Discussion options

You must be logged in to vote

Hey how's it going? this problem can occur if you use a shared computer (at a college for example) this happens because the person has the credentials saved on the machine you used.

When this occurs, your commits end up becoming that person's commits in your repository, you can correct this by going to credentials and removing the person's github access, then logging in with your github in the terminal, type:

  1. git config --global user.name (your username)
  2. git config --global user.email (your email)

If it didn't work that way, see if you added that person as a contributor (that way he has access to change some defined files)

Replies: 4 comments 7 replies

Comment options

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

@DenserMeerkat
Comment options

Answer selected by mujibsayyad
Comment options

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

@mujibsayyad
Comment options

Comment options

You must be logged in to vote
3 replies
@mujibsayyad
Comment options

@NextGenGk
Comment options

@NextGenGk
Comment options

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
Labels
Issues Repository issues let you track features, problems, and more alongside your code
4 participants