errors while committing the repository in sourcetree, Git window client
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
How to handle passwords in shared code Git - remote: Repository not found Aptana, SourceTree and Git - Beginner SourceTree - remove waiting pushes How to push a local repository to remote use “SourceTree” How to check if a commit has been merged to my current branch - somewhere in time?
* Please tell me who you are.
git config –global user.email “firstname.lastname@example.org” 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
Completed with errors, see above.
how can i resolve this issue and do a successful commit and push.
3 Solutions collect form web for “errors while committing the repository in sourcetree, Git window client”
The easiest way to solve the issue with your identity without using Git Bash is to set it in SourceTree directly: –
- Got to menu: Tools -> Options
- On the general tab fill in the Full Name and Email address fields
- Click the OK button
- Commit your files 🙂
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@example.com" git config --global user.name "Your Name"
Now try to commit again, problem will be resolved.
This is what you need
Simple and precise.