Aucune description

lrf 1a1ec5cd3e update il y a 10 mois
.github b303c06174 init il y a 2 ans
app 1a1ec5cd3e update il y a 10 mois
config 1a4781af19 update il y a 10 mois
test b303c06174 init il y a 2 ans
.autod.conf.js b303c06174 init il y a 2 ans
.eslintignore 66964d5368 update il y a 10 mois
.eslintrc b303c06174 init il y a 2 ans
.gitattributes bbead0cee5 1 il y a 1 an
.gitignore 326cf0d4dd update il y a 10 mois
README.md d63ce15594 Merge branch 'dev' il y a 1 an
app.js c154c90514 update il y a 1 an
ecosystem.config.js 109b3d85dd 2 il y a 1 an
package-lock.json 9e65122b19 update il y a 1 an
package.json bbadda4161 update il y a 1 an
server.js dede39750e pm2 il y a 2 ans

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