git - Is there a way to clone from gitlab with username and passwordr in one command? -


this solution post not work how provide username , password when run "git clone git@remote.git"?

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

fatal: unable access 'http:/..: not resolve host: username

gitlab doesn't support cloning http in 1 line. maybe can ssh?

there few git services work http cloning in 1 line. example github , gitorious. think gitlab supports username prefix. password asked. brings in huge security advantage because in way, password never stored in logfiles.


Comments

Popular posts from this blog

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -