How do I pull my project from github?

后端 未结 6 904
佛祖请我去吃肉
佛祖请我去吃肉 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:17

    You Can do by Two ways,

    1. Cloning the Remote Repo to your Local host

    example: git clone https://github.com/user-name/repository.git

    2. Pulling the Remote Repo to your Local host

    First you have to create a git local repo by,

    example: git init or git init repo-name then, git pull https://github.com/user-name/repository.git

    That's all, All commits and branch in the remote repo now available in the local repository of your computer.

    Happy Coding, cheers -:)

提交回复
热议问题