I have a simple batch file "clone.bat" withe the following script.
cd %1
c:\Program Files\Git\git-cmd.exe" git clone %2 --branch %3
exit
While running the batch file I pass 4 parameters. %1 : local repo path, %2 : remote repo path, %3 : branch name , and %4 as password
I expect that when the Git command runs it should accept the %4 as password. However, it asks for password on the fly which I need to avoid.
I have set of only https authentication and not using SSH.