cd-clone-branch
This commit is contained in:
parent
50247d02dd
commit
380684eed9
2 changed files with 1 additions and 9 deletions
|
@ -35,7 +35,7 @@ def cd_clone_branch():
|
|||
'--branch', project.branch,
|
||||
'--',
|
||||
project.url,
|
||||
os.path.realpath(os.curdir),
|
||||
project.root,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
git clone \
|
||||
--branch "${GITHUB_REF_NAME}" \
|
||||
-- \
|
||||
"${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" \
|
||||
'.'
|
||||
|
||||
rm --force --recursive \
|
||||
'.git' '.gitignore'
|
Loading…
Reference in a new issue