I am new to bitbucket, git and sourcetree. i created a repository on bitbucket, then i installed the sourcetree client for win 7, then i clone that repository with my local desktop folder, then i placed a file in the local folder, now when i try to commit the changes, sourcetree give me following errors.
git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\Users\shahjahan_khokher\AppData\Local\Temp\vrkvrvyu.uba
* Please tell me who you are.
Run
git config --global user.email "[email protected]" 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 'shahjahan_khokher@shahjahan_khokh.(none)')
Completed with errors, see above.
how can i resolve this issue and do a successful commit and push.
Commit filesClick Commit in the toolbar. Select the files to commit in the Pending files panel. Enter a commit message. Click Commit at the bottom of the window.
Investigated and found root cause of SourceTree slowness. If you find git status -uall is super slow (same slowness as SourceTree then this is likely your culprit). Sourcetree always uses -uall when doing status refreshes.
The easiest way to solve the issue with your identity without using Git Bash is to set it in SourceTree directly: -
I got the solution for above mentioned problem, with the help of my friend , Solution is
First get the Git Bash command line in ur system by installing Git from Download Git for Windows
Then open Git Bash from start manu - Git - Git Bash and run these commands
git config --global user.email "[email protected]" git config --global user.name "Your Name"
Now try to commit again, problem will be resolved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With