A Digital Life

My Notebook

View My GitHub Profile

  • About
  • 27 September 2015

    ID Yourself

    by kerner1000

    ID Yourself

    git config --global user.name "Alexander Kerner"
    git config --global user.email hansimglueck@gmail.com
    

    Those infos (and all other global configurations) are stored in ~/.gitconfig. Omit the --global option to configure project-local.

    To fix the identity used for last commit:

    git commit --amend --reset-author
    
    tags: Git