git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\Users\Admin\AppData\Local\Temp\ldlruhbf.ejs
*** 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.
But when tried to Run the commands from command line it does not recognize "git".
Hello Pavan!
First of all: as already asked by Seth, are you using Windows' Command Prompt (cmd.exe) or SourceTree's Terminal? It's recommended that you use SourceTree's own Terminal, but you can also do some adjustments in order to have your Windows' Command Prompt setup for git
commands.
If you already have installed Git by following the above procedure, please follow the instructions below to add Git's executable as an Environment Variable.
C:\Program Files\Git
, but can also be under C:\Program Files (x86)\Git
if you use a x64-based Windows version);\bin
directory and copy the path to it;\bin
folder that you got on the first step; That's it! You should now be able to run git
commands from Windows' Command Prompt!
Regards!
-Joao
For my second question, I meant when you tried to run from the command line. Did you run a typical command prompt (for example, Run -> cmd)? If so, that probably won't work. Try hitting the "Terminal" button in SourceTree and then running the git config command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Windows or Mac? Did you open the command line from the OS, or use SourceTree's "Terminal" button?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.