首页 Git_branch
文章
取消

Git_branch

用现有的代码创建本地branch

git branch local——branchbranch

git remote add git@github.com:quzhengpeng/quzhengpeng.github.io.git

git remote show origin

https://cloud.tencent.com/developer/news/576613

git remote rm origin

git remote add origin git@github.com:quzhengpeng/quzhengpeng.github.io_his.git

推送到 origin 的远端 master 分支 git push origin master

  1. clone master 分支
  2. 创建本地模板分支(删除&修改某些文件)
  3. 创建本地dev分支(增加文章)

git push origin 新分支名称

本文由作者按照 CC BY 4.0 进行授权