Sen descrición

guhongwei 6620a5c9a5 Merge branch 'dev' hai 1 ano
.github b303c06174 init %!s(int64=2) %!d(string=hai) anos
app 612f1097df 4 hai 1 ano
config 89aeb1c10d 1 hai 1 ano
test b303c06174 init %!s(int64=2) %!d(string=hai) anos
.autod.conf.js b303c06174 init %!s(int64=2) %!d(string=hai) anos
.eslintignore b303c06174 init %!s(int64=2) %!d(string=hai) anos
.eslintrc b303c06174 init %!s(int64=2) %!d(string=hai) anos
.gitattributes bbead0cee5 1 hai 1 ano
.gitignore 857f121320 1 hai 1 ano
README.md d63ce15594 Merge branch 'dev' hai 1 ano
app.js c154c90514 update hai 1 ano
ecosystem.config.js 109b3d85dd 2 hai 1 ano
package-lock.json 9e65122b19 update hai 1 ano
package.json bbadda4161 update hai 1 ano
server.js dede39750e pm2 %!s(int64=2) %!d(string=hai) anos

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