setting gitconfig

amogh2019

amogh2019

Posted on November 27, 2022

setting gitconfig
  • setting up my github username as name
git config --global user.name "nameorusername"
Enter fullscreen mode Exit fullscreen mode
  • setting up my private no reply email as my email
git config --global user.email "youremail/noreplygithubemail"
Enter fullscreen mode Exit fullscreen mode
  • telling git to use my gpg key, present on this computer and which is already added to my github account (check part 2 of this series) and always sign by default
git config --global user.signingkey {{keyidinlongformat}}
git config --global commit.gpgsign true
Enter fullscreen mode Exit fullscreen mode
  • do a commit // check git log // check the latest commit // name and email is what you want, right?
  • push on github // check commit is verified green
💖 💪 🙅 🚩
amogh2019
amogh2019

Posted on November 27, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related