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

  • Git/Sourcetree basic branching and merging
  • git line ends redux - Mac OS git with contributions for Windows user
  • Resolving Git conflicts in SourceTree
  • Where is git mv in SourceTree?
  • Remove weird 'Iconr' file from the repository
  • Can I use TortoiseGit and SourceTree with the same project, same computer?
  • * 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
    ‘shahjahan_khokher@shahjahan_khokh.(none)’)

    Completed with errors, see above.

    how can i resolve this issue and do a successful commit and push.

  • Source Tree Unity project Ghost files
  • What is the difference between git pull and git reset --hard origin/<branch>?
  • Is there a way to show *only* whitespace differences with git diff?
  • git reset - ignoring specific untracked files
  • Repository deployment and Composer : what workflow?
  • What directory structure makes sense for DVCS such as git?
  • 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: –

    1. Got to menu: Tools -> Options
    2. On the general tab fill in the Full Name and Email address fields
    3. Click the OK button
    4. Commit your files 🙂

    I got the solution for above mentioned problem, with the help of my friend
    , Solution is

    1. First get the Git Bash command line in ur system by installing Git from Download Git for Windows

    2. Then open Git Bash from start manu – Git – Git Bash and run these commands

    git config --global user.email "you@example.com" 
    
    git config --global user.name "Your Name"
    

    Now try to commit again, problem will be resolved.

    Git Baby is a git and github fan, let's start git clone.