References [1] http://nvie.com/posts/a-successful-git-branching-model/ A golden git workflow: Branches feature/*: feature branches that are worked on ...
分类:
其他好文 时间:
2018-05-14 19:54:00
阅读次数:
142
git clone http:// git branch -a //查看远程分支 git checkout //切换分支 git commit //本地仓库保存 git pull //远程仓库更新到本地仓库 git push origin /master //推送本地仓库代码到远程仓库 ...
分类:
其他好文 时间:
2018-05-13 13:53:29
阅读次数:
151
添加远端信息: git remote add orgin_name ssh 创建分之并进入: git checkout -b batch_name 将主干合并到分之: git merge master 代码提交: git commit -m '备注' git push 代码更新: git pull ...
分类:
其他好文 时间:
2018-05-12 20:24:32
阅读次数:
175
$ git add -A $ git statusOn branch common_shirleyYour branch is up to date with 'origin/common_shirley'. Changes to be committed: (use "git reset HEAD ...
分类:
其他好文 时间:
2018-05-12 15:10:33
阅读次数:
174
转自:https://serversforhackers.com/c/installing-php-7-with-memcached Let's install PHP7 and Nginx on a new Ubuntu 14.04 server, and manually build the ( ...
分类:
Web程序 时间:
2018-05-11 10:36:55
阅读次数:
182
1 初始配置 git config --global user.name "" //配置用户名 git config --global user.email "" //配置邮箱 git config --global push.default simple //提交方式 git config --g ...
分类:
其他好文 时间:
2018-05-10 18:10:54
阅读次数:
174
安装Prometheus之前 我们必须先安装 ntp时间同步(prometheus对系统时间的准确性要求很?,必须保证本机时间实时同步)以Centos7 为例 1) Prometheus下载?先 我们去到http://prometheus.io 官?下载最新版本 prometheus-2.2.1.l ...
分类:
其他好文 时间:
2018-05-10 17:24:31
阅读次数:
15287
* git branch : 查看本地分支 * git branch -r : 查看远程分支 * git branch -a : 查看全部分支 * git branch name : 本地新建分支 * git checkout name : 切换到本地 name 分支 * git pull orig ...
分类:
其他好文 时间:
2018-04-28 19:32:51
阅读次数:
183
Step 1: install redir apt-get update apt-get install redir -y Step2 : add port mapping redir --lport=8880 --cport=8880 --caddr=192.35.85.242 --name=pr ...
分类:
其他好文 时间:
2018-04-27 12:23:50
阅读次数:
160
如果推送报错: 因为远程repository和我本地的repository冲突导致的,而我在创建版本库后,在github的版本库页面点击了创建README.md文件的按钮创建了说明文档,但是却没有pull到本地。这样就产生了版本冲突的问题。 ...
分类:
其他好文 时间:
2018-04-25 22:15:37
阅读次数:
307