No Description

guhongwei 6620a5c9a5 Merge branch 'dev' 1 year ago
.github b303c06174 init 2 years ago
app 612f1097df 4 1 year ago
config 89aeb1c10d 1 1 year ago
test b303c06174 init 2 years ago
.autod.conf.js b303c06174 init 2 years ago
.eslintignore b303c06174 init 2 years ago
.eslintrc b303c06174 init 2 years ago
.gitattributes bbead0cee5 1 1 year ago
.gitignore 857f121320 1 1 year ago
README.md d63ce15594 Merge branch 'dev' 1 year ago
app.js c154c90514 update 2 years ago
ecosystem.config.js 109b3d85dd 2 1 year ago
package-lock.json 9e65122b19 update 2 years ago
package.json bbadda4161 update 2 years ago
server.js dede39750e pm2 2 years ago

README.md

分支管理

删除本地分支

git branch -D ${branch_name}

删除远程分支

git push self -d ${branch_name}

拉取指定分支

git clone -b ${branch_name} ${url}

避免冲突,不进行版本合并

1.git config --global merge.ours.driver true 2.设置.gitattributes 3.master 修改忽略文件,提交; 分支修改忽略文件,提交;分支合并master,提交

dev master 1