Skip to content

Error code 128 gitconfig setting #8041

Closed

Description

@Havie

So I am brand new ish to git

I installed git hub desktop,
signed into my account and tried to clone a repo

When I try to commit it for the first time I get this error code message 128 about identifying who i am

Upon googling- it says the solution is to go to file-->options and update your email address

No matter what I type in there- you cant click the save button it doesnt matter,
so i got into my settings thru the website and turned off the @noreply.github email to show my public email, now the file-->options email shows my correct email,
however the error persists.

ErrprAGAOM

I have signed in and out and closed the application multiple times..
what is the deal?

Activity

  1. steveward commented on Jul 29, 2019

    @steveward
    Contributor

    Thanks for the report @Havie. Another user recently ran into this issue in #8019.

    Can you go to C:\Users\<Your_User> and open the .gitconfig file located there? Make sure there is an entry there that looks like this:

    [user]
    	name = Your Name
    	email = [email protected]
    

    Let me know what that shows.

  2. added
    support
    on Jul 29, 2019
  3. Havie commented on Jul 29, 2019

    @Havie
    Author

    Hello steveward,

    I went to c/user/myusername

    and theres tons of folders here , but no sign of .gitconfig file.

    Can i make one? what else do u need to put inside of it?

  4. Havie commented on Jul 29, 2019

    @Havie
    Author

    I have tried adding a custom gitconfig to windows/system32/drivers/etc
    because I have seen people reference an etc folder that needs this, also doesnt work

  5. Havie commented on Jul 29, 2019

    @Havie
    Author

    Found an etc under C:\Program Files\Git\etc
    added a sample gitoncfig there, same issue

  6. shiftkey commented on Jul 29, 2019

    @shiftkey
    Member

    @Havie

    and theres tons of folders here , but no sign of .gitconfig file.

    Check that you have Show hidden files enabled for Windows Explorer, as files starting with a . may be hidden from you.

    Found an etc under C:\Program Files\Git\etc
    added a sample gitoncfig there, same issue

    This is not the right place to make the change, and won't be detected by Desktop.

  7. changed the title [-]Error code 129[/-] [+]Error code 128 gitconfig setting[/+] on Aug 1, 2019
  8. tierninho commented on Aug 1, 2019

    @tierninho
    Contributor

    @Havie Since you are having trouble finding the file, open up the command line, and type:

    git config --global user.email "your-email-address"
    git config --global user.name "your-name"

    Be sure to substitute the email and username above. That should do it.

  9. steveward commented on Aug 7, 2019

    @steveward
    Contributor

    @Havie I'm going to close this issue out due to inactivity -- if you are still having problems configuring your name and email please let us know!

  10. Havie commented on Aug 7, 2019

    @Havie
    Author

    I gave up, thanks tho.

    I got this working via sourcetree , cant use github desktop no mater what

  11. steveward commented on Aug 8, 2019

    @steveward
    Contributor

    @Havie if Sourcetree is able to find your .gitconfig then GitHub Desktop should as well since they would both use the same config files. Did you try running the commands that @tierninho gave?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    support

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions