Abhinav Dhasmana
1 min readSep 17, 2018

--

Hi Kev Lai, any thing that requires a user input cannot be automated by definition. I think this works

git clone https://username:password@github.com/username/repo_name.git

But you would be exposing username/password in the repo which is not recommended. May be put this in env variable of Gitlab and then use the above command with the ENV variables.

Let me know how it goes

--

--

Abhinav Dhasmana

Senior Staff Engineer @freshworks. Ex-McKinsey/Microsoft/Slideshare/SAP, Tech Enthusiast, Passionate about India. Opinions are mine