I'm trying to create a workflow where I create my local project, automatically create the remote bitbucket repo based on the project name, then clone that repo into the local folder I'm working from. The problem is, you can't clone into a folder with files. The workaround so far is to clone into a folder, then move the contents into my working directory.
This is what I have so far that's not working:
git clone https://U:[email protected]/user-account/{project_name}.git & mv {project_path}/{project_name}/.git {project_path}/../../