cd-clone-branch

This commit is contained in:
Marc Beninca 2024-05-30 12:03:15 +02:00
parent 50247d02dd
commit 380684eed9
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 1 additions and 9 deletions

View file

@ -35,7 +35,7 @@ def cd_clone_branch():
'--branch', project.branch,
'--',
project.url,
os.path.realpath(os.curdir),
project.root,
)

View file

@ -1,8 +0,0 @@
git clone \
--branch "${GITHUB_REF_NAME}" \
-- \
"${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" \
'.'
rm --force --recursive \
'.git' '.gitignore'