I have a Basic git clone command to bitbucket in which I have to add Login credentials, is it possible to add Login credentials to a bitbucket git clone command?
https://[email protected]/myacc/app.git
Something like this?
https://[email protected]/myacc/app.git -Password "123"
You can, with:
git clone https://user:[email protected]/myacc/app.git
But this will save your credentials in the origin url in .git/config
.
To avoid that you could change the origin afterwards git remote set-url origin https://[email protected]/myacc/app.git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With