skip to main | skip to sidebar

Good Artists Copy, Great Artists Steal

Stealing ideas from smart people

Saturday, June 20, 2009

Setting Git Author and Email

To set git author and email fields globally use the following commands:
 
$ git config --global user.name 'Foo Bar'
$ git config --global user.email 'foo@bar.com'

These commands will add the entries to "user" section of "${HOME}/.gitconfig".
Posted by Arun Bhanu at 2:53 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Arun Bhanu
View my complete profile

Blog Archive

  • ►  2016 (1)
    • ►  January (1)
  • ►  2015 (1)
    • ►  November (1)
  • ►  2012 (1)
    • ►  January (1)
  • ►  2011 (2)
    • ►  October (2)
  • ►  2010 (1)
    • ►  November (1)
  • ▼  2009 (13)
    • ►  July (2)
    • ▼  June (11)
      • History and page up/down keys in Fedora
      • Enable bash-completion in Fedora
      • Turning off annoying beeping in gvim
      • Exclude/blacklist a mirror from yum
      • Splitting a file name into name and extension usin...
      • Configuring network profiles in Gentoo
      • Syntax Highlighting in Blogger
      • Setting Git Author and Email
      • Gentoo "net.example"
      • Locking KDE session
      • Recursive dos2unix