How do I pull my project from github?

后端 未结 6 959
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-29 19:39

I have a project on github that I have been working on before. However, I wiped out my computer and I am wondering which git command should I invoke under my username to checko

6条回答
  •  我在风中等你
    2021-01-29 20:15

    First, you'll need to tell git about yourself. Get your username and token together from your settings page.

    Then run:

    git config --global github.user YOUR_USERNAME
    git config --global github.token YOURTOKEN
    

    You will need to generate a new key if you don't have a back-up of your key.

    Then you should be able to run:

    git clone git@github.com:YOUR_USERNAME/YOUR_PROJECT.git
    

提交回复
热议问题