Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8067559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:19:58+00:00 2026-06-05T12:19:58+00:00

Once in a while I get the message shown below from Git. My questions

  • 0

Once in a while I get the message shown below from Git. My questions regarding this are:

  1. Why does this happen?
  2. How can I prevent this from happening again?
  3. How does this affect my commits or any other Git actions I may take?

I realize similar questions have been posted to Stack Overflow, but I don’t believe they address this message in particular.


Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

git config --global user.name "Your Name"
git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

git commit --amend --reset-author
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T12:19:59+00:00Added an answer on June 5, 2026 at 12:19 pm

    Git simply detects you don’t have the following section in your config files:

    [user]
        name = <your name>
        email = <your mail>
    
    • <project_path>/.git/config for the project specific config file.
    • ~/.gitconfig the global config file

    When you do:

    git config --global user.name "Your Name"
    git config --global user.email you@example.com
    

    Git writes that information into the configuration file (--global means in the global config file).

    To have a the correct Author section in a commit like the following example commit:

    commit 79eeaa9f22321580a0e5bee6e237331691cd3b68
    Author: Sandro Munda <foo@bar.com>
    Date:   Thu Jun 8 10:40:05 2012 +0200
    
        My first commit
    

    You need to reset the commit information with the command:

    git commit --amend --reset-author

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In this very simple code example, messages get lost every once in a while.
Every once and a while I get this error in IE when making an
webview in android loads more than once while loading the url. Below is the
While I realize that this question has been asked once or twice ago but
I get this error message: Exception in thread main java.lang.ArithmeticException: BigInteger not invertible. This
<compilation debug=false targetFramework=4.0> I get this error while that line is red: Parser Error
Please help me to get rid of this errors While i run some large
My company creates web surveys and once in a while I get asked if
I have some variables that I need to set once while installing. For example
Once in a while you stumble over a technical article where creating and declaring

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.