I\'m new to SmartGit. I can\'t commit through my repository, the message I\'m receiving is:
Unable to auto-detect email address (got \'Arreane@Arreane-PC.(none)\
Well, the message is pretty much self-explanatory. You did not tell git what your name and email address is.
Open a command line and type:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
Of course you should enter your real name and email. Afterwards git knows who you are and is able to insert this information in your commits.
Seems like smartgit does not add the git binary to your path. You have to add its path to the PATH environment variable or first change to the corresponding directory. You can find a screencast here: http://blog.dragndream.com/?p=97
open your git command line
put
git config --global user.email "you@example.com"
this command on command line and change email address put your own email which those use creating accout for github
hit enter
put git config --global user.name "Your Name"
use your own name insted of your name
hit enter
its work...
This problem has very simple solution. Just open your SmartGit, then go to Repository option(On top left), then go to settings. It will open a dialog box of Repository Settings. Now, click on Commit TAB and write your UserName and EmailId which you give on BitBucke website. Now click ok and again try to Commit and it works fine now.
In case you're using git, use the right email address you used for github registration and then your computer name. this worked for me.
Put your computer's username
git config --global user.email "YOU@EXAMPLE.COM"
git config --global user.name "YOUR COMPUTER\'S USERNAME"
Make sure that you opened git as admin or root.