Fork from a branch in github

前端 未结 8 676
名媛妹妹
名媛妹妹 2021-01-30 09:26

Is there a way to fork from a specific branch on GitHub? … For example, moodle has many branches (1.9, 2.0 … and so on). Can a clone be performed of just branch 1.9 and not the

8条回答
  •  有刺的猬
    2021-01-30 09:51

    For those who don't like working with command-line. Here is a simple guide using the desktop client for GitHub:

    1. Click the fork button of the repo on GitHub.com:

    2. Make sure you have the desktop client installed

    3. Click this button:

    4. Clone the repo

    1. In the desktop client, select the desired branch

    1. Select the branch you'd like to work on and you're done

提交回复
热议问题