Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

May 302011
 

Setting up local username and email with git

Answer:

Before you make any changes to a local git repos, it is always recommended to setup you username and email first.

To do so, use the commands below:

# git config --global user.name "John Doe"
# git config --global user.email [email protected]

That's it.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>