0

I'm using Windows subsystem for linux, with ubuntu distro. I generally access git commands from the bash. I was making commits the other day and I saw that their author was not my git hub account but wolfbaseplate@DESKTOP-08P153Q.localdomain where wolfbaseplate@DESKTOP-08P153Q is the name of my UNIX account on ubuntu. Is there a way I could fix this?

Shashwat
  • 439
  • 7
  • 13
  • 1
    Possible duplicate of [How to change the author and committer name and e-mail of multiple commits in Git?](https://stackoverflow.com/questions/750172/how-to-change-the-author-and-committer-name-and-e-mail-of-multiple-commits-in-gi) – phd Nov 05 '18 at 12:06
  • https://stackoverflow.com/search?q=%5Bgit%5D+change+commit+name – phd Nov 05 '18 at 12:06

1 Answers1

0

You can setup your account using following commands

git config --global user.name 'Your Name'

git config --global user.email 'you@domain.com'
Samuel Robert
  • 10,106
  • 7
  • 39
  • 60