Problems with Git Commit -
when put off git commit
end answer:
***please tell me are. run: git config --global user.email "you@example.com" git config --global user.name "your name" omit --global set name in repository. fatal: unable auto-detect email address (got username@computername.<none>)
but when run either of options above, run git commit
still end above message. ran them plain old git commit
cmd.exe
. os windows vista. .gitconfig
in c:\users\<username>\.gitconfig
.
if running commands not work—for whatever reason—then can enter information editing .gitconfig
file.
open c:\users\<username>\.gitconfig
in texteditor (not notepad.exe though), , add following lines (with information of course):
[user] name = name email = your.name@domain.tld
if [user]
section in file, try merge correctly isn’t duplicated.
Comments
Post a Comment