I want to clone gitlab repository without prompt for my automation script, by using my private token from my gitlab account.
Can someone provide me a sample?
Use the token instead of the password (the token needs to have "api" scope for clone to be allowed):
git clone https://username:token@gitlab.com/user/repo.git
Tested against 11.0.0-ee.