Forced commits to repositories #188819
Replies: 2 comments
-
|
This situation can happen for a few different reasons, and it doesn’t always mean someone directly logged into your GitHub account. A few things worth checking:
You can verify this by opening the commit and checking: Author Committer Verified / Signed status Sometimes the committer will be different from the author.
It’s a good idea to: Revoke old tokens Review authorized OAuth apps Check deploy keys on repositories
This can explain why you saw them initially and then they vanished.
Recommended immediate steps: Change your GitHub password Enable 2FA if not already enabled Revoke unused personal access tokens Review authorized OAuth apps Check GitHub security log in your account settings If the commit still exists in the client’s repository, inspecting the commit metadata (author, committer, and signature) should reveal how it was created. |
Beta Was this translation helpful? Give feedback.
-
1. Identity vs. AuthenticationThe most likely reason for these commits is Email Attribution. In Git, anyone can configure their local machine to use any name and email address they choose using these commands:
If a third party (or a bot) uses the email address associated with your GitHub account, GitHub will automatically link that commit to your profile and display your avatar, even if you didn't push the code. 2. Why Repositories Showed "Updated Yesterday"When a repository shows an update timestamp but contains no new commits, it is typically due to Branch or Tag Activity:
3. Immediate Security StepsEven if this was just an email attribution issue, you should take these steps to secure your account:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I noticed some unexpected activity on my GitHub repositories and wanted to clarify the situation.
A past client recently contacted me saying that commits were made to their repository using my GitHub account, even though I did not make those commits.
I am trying to understand how this activity happened since I did not push these commits myself.
Beta Was this translation helpful? Give feedback.
All reactions