GIT

Git Add user to local repository

user@Sys208:~/works/Project1/data-entry/Data-entry-tool$ git add -A && git commit -m “Initial Commit.”

*** Please tell me who you are.

Run

git config –global user.email “you@example.com”
git config –global user.name “Your Name”

to set your account’s default identity.
Omit –global to set the identity only in this repository.

fatal: unable to auto-detect email address (got ‘user@Sys208.(none)’)

To set the user local to the repository navigate to the working directory and open a terminal and issue the following commands

user@Sys208:~/works/Project1/data-entry/Data-entry-tool$ git config user.email “abc@hiplind.com”
user@Sys208:~/works/Project1/data-entry/Data-entry-tool$ git config user.email
abc@hiplind.com
user@Sys208:~/works/Project1/data-entry/Data-entry-tool$

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *