git我一直在用, 不过就是没怎么用过分支, 这2天看了一下git workflow, 基本了解了已经. 具体命令可能实践时候要注意一下.
git clone -b WR741ND https://我的repo
, 然后切一个分支 git branch ndpi_dev WR741ND
, 然后在切换到这个分支 git checkout ndpi_dev
, 这时, 我在资源管理器上看到的文件内容就是这个ndpi_dev分支的吧.git branch -m <old_branch_name> <new_branch_name>