omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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?

    Pythonista
    4
    7
    4184
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • oscampo
      oscampo last edited by

      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

      Phuket2 1 Reply Last reply Reply Quote 0
      • bennr01
        bennr01 last edited by

        Hi oscampo,
        i havent tested it, but StaSh also contains a gh command for github.
        Maybe that works?

        oscampo 1 Reply Last reply Reply Quote 0
        • Phuket2
          Phuket2 @oscampo last edited by Phuket2

          @oscampo , from memory all repository names in stash have to have a .git ending
          Meaning just substitute io for git

          oscampo 1 Reply Last reply Reply Quote 0
          • oscampo
            oscampo @Phuket2 last edited by

            @Phuket2 thanks for sugestion, but that is not a typical repo, is a GitHub page, hosted on github repository (see https://pages.github.com/)

            1 Reply Last reply Reply Quote 0
            • oscampo
              oscampo @bennr01 last edited by

              @bennr01 thanks, but the StaSH gh commands only admit fork, pull, and create repos, not clonning

              1 Reply Last reply Reply Quote 0
              • dgelessus
                dgelessus last edited by

                @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 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.

                oscampo 1 Reply Last reply Reply Quote 2
                • oscampo
                  oscampo @dgelessus last edited by

                  @dgelessus yay! thanks

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB Forums | Contributors