Open francisbarton opened 1 year ago
If I do:
# uses URL as copied from Code dropdown in a GitHub repo gert::git_clone("git@github.com:francisbarton/myrepo.git")
then it clones into a folder called myrepo.git. If I remove the .git from the end of the URL then it clones into a myrepo folder, as desired.
myrepo.git
.git
myrepo
The behaviour above is (IMHO) sub-optimal, as I would expect the folder created to match the repo name (i.e. without the .git suffix).
If at the terminal I run
git clone git@github.com:francisbarton/myrepo.git
then it clones into a folder called myrepo. I think gert::git_clone() should do the same.
gert::git_clone()
If I do:
then it clones into a folder called
myrepo.git
. If I remove the.git
from the end of the URL then it clones into amyrepo
folder, as desired.The behaviour above is (IMHO) sub-optimal, as I would expect the folder created to match the repo name (i.e. without the
.git
suffix).If at the terminal I run
then it clones into a folder called
myrepo
. I thinkgert::git_clone()
should do the same.