I am using gitlab . I want to write a .bat file which contains all the steps so that I can automate all the process , which are as follows:
- open cmd.exe /k
- git init
- git clone https://username:password@gitlab.com/board.git ////// not working
- git status
The 3rd point that is git clone https.... is not working in gitBash anymore. I tried using git clone SSH ... and it is working which asked for the passphrase and after logging in it was about to clone the repo. As I want to automate the process by providing the login credentials by-default , how can it be achieved using SSH. Thank you.