摘要: 当前分支合到mastergit checkout master // 切换到mastergit pull origin master // 把远程master代码pull下来git merge dev // 把dev分支的代码合并到master上git status // 查看状态git push 阅读全文
posted @ 2020-06-04 14:54 NT.Wang 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 本地新仓库上传到远程仓库git init // 初始化仓库git add . // 添加所以文件到跟踪目录git commit -m 'first commit' // 提交到本地 (这里是描述信息,版本具体改动 以便于追溯)git remote add origin 关联远程仓库地址git pus 阅读全文
posted @ 2020-06-04 14:52 NT.Wang 阅读(190) 评论(0) 推荐(0) 编辑