Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Cloning a GitHub Page?
-
Hi, I'm trying to clone my GitHub page via stash, by:
$ git clone https://github.com/username/username.github.io username.github.io
but this command generate teh following error:
stash:<calss 'dulwich.errors.NotGitRepository'>:
Please any can help me to fix this? thanks in advance
-
Hi oscampo,
i havent tested it, but StaSh also contains a gh command for github.
Maybe that works? -
@oscampo , from memory all repository names in stash have to have a .git ending
Meaning just substitute io for git -
@Phuket2 thanks for sugestion, but that is not a typical repo, is a GitHub page, hosted on github repository (see https://pages.github.com/)
-
@bennr01 thanks, but the StaSH gh commands only admit fork, pull, and create repos, not clonning
-
@oscampo When cloning any GitHub repo via the command line, you need to add
.git
at the end. GitHub pages aren't special in any way (except that you can view them as a website overgithub.io
) so that applies to them too. Try runninggit clone https://github.com/username/username.github.io.git
and see if that works.
-
@dgelessus yay! thanks