How Git clones code from non-master branches

1, it used to be like this

git clone [email protected]:xxxxx.git

7f07c8f6deef169ef6be5103bbd3e932f8676bb1.png

2. View the branch

#View remote branch
git branch -r 
or
# view all branches
git branch -a

3. Switch branches

git checkout origin/daily/1.4.1


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324921488&siteId=291194637