Sin descripción

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

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