Clone from a branch other than master

前端 未结 4 677
不思量自难忘°
不思量自难忘° 2021-01-30 03:20

I am trying to pull from a repository in Github. But I don\'t want to clone the master branch. I want to clone some other branch. When I try git clone ,

4条回答
  •  攒了一身酷
    2021-01-30 03:35

    use git clone --branch possibly adding --single-branch

    as usual you have git clone --help to read details on commands

提交回复
热议问题