git branch -a
查看所有分支
git checkout -b test01
创建本地test01分支
git push --set-upstream origin test01
把本地test01分支推送到远程
once created a local branch by accident:
git branch -d [branch_name]
to delete it.
git branch -a
查看所有分支
git checkout -b test01
创建本地test01分支
git push --set-upstream origin test01
把本地test01分支推送到远程
once created a local branch by accident:
git branch -d [branch_name]
to delete it.