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:
Please any can help me to fix this? thanks in advance
bennr01 last edited by
i havent tested it, but StaSh also contains a gh command for github.
Maybe that works?
Phuket2 last edited by Phuket2
@oscampo , from memory all repository names in stash have to have a .git ending
Meaning just substitute io for git
@bennr01 thanks, but the StaSH gh commands only admit fork, pull, and create repos, not clonning
dgelessus last edited by
@oscampo When cloning any GitHub repo via the command line, you need to add
.gitat the end. GitHub pages aren't special in any way (except that you can view them as a website over
github.io) so that applies to them too. Try running
git clone https://github.com/username/username.github.io.git
and see if that works.
@dgelessus yay! thanks