lrf 2 年之前
父节点
当前提交
4a968f9bf2
共有 2 个文件被更改,包括 6 次插入31 次删除
  1. 1 2
      .gitattributes
  2. 5 29
      README.md

+ 1 - 2
.gitattributes

@@ -1,2 +1 @@
-./config/*
-./config/config.prod.js
+config/** merge=ours

+ 5 - 29
README.md

@@ -1,33 +1,9 @@
-# server
+# 分支管理
 
+## 删除本地分支
 
+`git branch -D ${branch_name}`
 
-## QuickStart
+## 删除远程分支
 
-<!-- add docs here for user -->
-
-see [egg docs][egg] for more detail.
-
-### Development
-
-```bash
-$ npm i
-$ npm run dev
-$ open http://localhost:7001/
-```
-
-### Deploy
-
-```bash
-$ npm start
-$ npm stop
-```
-
-### npm scripts
-
-- Use `npm run lint` to check code style.
-- Use `npm test` to run unit test.
-- Use `npm run autod` to auto detect dependencies upgrade, see [autod](https://www.npmjs.com/package/autod) for more detail.
-
-
-[egg]: https://eggjs.org
+`git push self -d ${branch_name}`