0
I have a bash code that creates a server instance in AWS.
The last step of this process is to clone the project that is in the bitbucket.org
.
Usually what I do manually are these steps:
cd $HOME/vhosts
- position myself inside the folder where I want to clone the repository- Clone -
git clone https://[email protected]/myusr/prjct.git
- The requested password. Enter password.
- Press btn enter.
- The clone was successfully made.
For the process to become automated I need to skip steps 3 and 4.
I was wondering if you have any way to automate this process without using ssh. There are no options to pass parameters in the function git clone.
in fact the answer is no on the second link.
http://username:[email protected]/...
worked. Edit your answer.– zwitterion