1. 查看当前所在分支与本地所有分支,前缀*的分支为当前所在分支 git branch 2. 查看branch命令帮助文档,在linux或macos中会在当前终端打开帮助文档,在windows中会自动启动默认浏览器并打开文档 git branch --help 3. 从当前分支创建新分支 git b ...
分类:
其他好文 时间:
2019-11-13 09:11:52
阅读次数:
66
git add .git commit -m "" 一定要有空格哈 git branch 查看分支状态git checkout master 切换到主分支 git merge dev-login(分支名) 合并分支git push 创建另外一个分支git checkout -b dev-users ...
分类:
其他好文 时间:
2019-11-13 00:40:29
阅读次数:
87
命令行方式 Git Bash: 切换到要操作的项目文件夹 命令行 : $ cd <ProjectPath> 查看项目的分支们(包括本地和远程) 命令行 : $ git branch -a 删除本地分支 命令行 : $ git branch -d <BranchName> 删除远程分支 命令行 : $ ...
分类:
其他好文 时间:
2019-11-11 13:10:58
阅读次数:
95
引用:https://blog.csdn.net/huanhuaqian/article/details/81986064 (huanhuaqian) https://www.liaoxuefeng.com/wiki/896043488029600/898732864121440 (廖雪峰的官方网站 ...
分类:
其他好文 时间:
2019-11-09 17:32:08
阅读次数:
111
本地初始化的项目 与 github 版本不一致, 导致无法提交 $ git pull origin master 来自 https://github.com/itaken/python-login-demo * branch master -> FETCH_HEAD fatal: 拒绝合并无关的历史 ...
分类:
其他好文 时间:
2019-11-08 12:30:01
阅读次数:
104
原文地址:https://blog.csdn.net/lzx2018/article/details/91414591 1新建分支 点击New Branch 2切换分支 ...
分类:
其他好文 时间:
2019-11-04 20:10:02
阅读次数:
77
整个新建分支合并到主分支: git checkout -b dev 新建并切换到分支dev,可在此分支上工作 git checkout master 切换到主分支上 git merge dev 分支合并到主分支 git branch -d dev 删除分支 从主分支上合并指定文件到分支上: git ...
分类:
其他好文 时间:
2019-11-04 19:34:29
阅读次数:
81
链接: https://vjudge.net/problem/POJ 2689 题意: The branch of mathematics called number theory is about properties of numbers. One of the areas that has c ...
分类:
其他好文 时间:
2019-11-03 23:36:52
阅读次数:
94
这两天做了简陋轮子,主要想放到npm上, "Github: canvas components" "Gitee: canvas components" github 上一份,gitee 上一份。(~走过路过,star一过啊亲~) 很明显,作为优 tou 秀 lan 程序员,自然不能 clone 到两 ...
分类:
其他好文 时间:
2019-11-03 21:59:54
阅读次数:
185
1. 分支策略 持续集成中使用的分支策略包括以下三个: The master branch The integration branch The feature branch 而CD只在Integration的release上分支上执行即可。 2. Release 分支 一些团队采用发布分支的策略。 ...
分类:
其他好文 时间:
2019-11-02 19:43:07
阅读次数:
79