Skip to content

My commits author is changed automatically to root in linux #91777

Discussion options

You must be logged in to vote

Hello! 👋

If Git is showing your commits as authored by "root," it might be due to permissions or the way you're initializing your Git repository.

Make sure you have the correct permissions and are in the right directory when making commits. Also, verify your local repository's config with : git config --local user.name to ensure it's set correctly for the specific project.

Replies: 1 comment 2 replies

Comment options

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

Answer selected by andrejmoltok
@andrejmoltok
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants