Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Someone abused the credentials in your .git/config file #1

Closed
DanielRuf opened this issue May 30, 2019 · 0 comments
Closed

Someone abused the credentials in your .git/config file #1

DanielRuf opened this issue May 30, 2019 · 0 comments

Comments

@DanielRuf
Copy link

A person going by the name gitsbackup has overwritten your commits.
You can easily recover them by pushing from the cloned repository which was used for this attack. Make sure to delete the credentials in the .git/config file then and change your password.

Use git push -u origin master -f && git push --tags -f from your local clone to push all references for master, tags and so on to the remote and then enable 2FA in your account.

See my full answer at https://security.stackexchange.com/a/209473/6090

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant