for example, I am working on my own github api. Only the data url of the main branch can be pulled through api. Can"t get the other branches.
for example, I am working on my own github api. Only the data url of the main branch can be pulled through api. Can"t get the other branches.
two ways:
1. Specify a branch of clone
git clone -b <branch_name> <repo_name>
:
git clone -b my-branch git@github.com:user/myproject.git
go to the warehouse under 2.clone and switch to the branch you need
git clone git@github.com:user/myproject.git
git branch -a
git checkout <branch_name>
Previous: Why did react-redux adopt the old version of context API??
Next: How does Linux mount the folder of the specified server
< H1 > steps I tried < H1 > < H2 > create Github App < H2 > I checked all permissions events access_token https: github.com login oauth authorize?client_id=Iv1.abfa65bfc68dc75a https: github.com login oauth access_token Create an issue ...