prollerweg 发表于 2018-9-18 12:11:40

git clone-breezelife

  1. mkdirtestproj
  2. cd testproj
  3. git clone git@192.168.1.254:wmw.git . // 用户名(git)@地址(192.168.1.254):文件夹(wmw.git) (加点表示不包括外层目录)
  4.git flow init
  5. git branch -a //查看所有分支
  6. git branch feature/mdCode remotes/origin/feature/mdCode // //基于远程分支创建:git branch 要创建的本地分支 远程分支
  7.git checkout feature/mdCode //切换到新分支上
  8.ls 即可看到文件变化
  9.git pull

页: [1]
查看完整版本: git clone-breezelife