Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
崔立强
db-game-template
Commits
297ad80f
Commit
297ad80f
authored
Sep 17, 2018
by
崔立强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 README.md
parents
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
README.md
README.md
+48
-0
No files found.
README.md
0 → 100644
View file @
297ad80f
项目创建和维护流程
1.
先建立一个分支
git checkout -b kickball-20180910
2.
然后duiba-games下直接创建【项目名称】的文件夹kickball-20180910
3.
push分支到远程
git push --set-upstream origin kickball-20180910
4.
然后在分支下开发,如果是新类型游戏,将来可能需要换皮的,那么备份到backup下。移动 kickball-20180910到backup。
5.
然后合并到主分支。
git checkout dev
git merge kickball-20180910
git push
6、因为已经backup,所以这个分支已经没用了,删除分支
git branch -D kickball-20180910
git push origin :kickball-20180910
如果不需backup后面要维护,那么留着分支,不必合并到主分支。这样可以避免频繁提交导致的频繁git pull,提升效率。
发布到线上
全发布 :npm run build
[
项目名称
]
。比如npm run build kickball-egret
仅仅发布src下的TS代码:npm run buildTS
[
项目名称
]
。比如npm run buildTS kickball-egret
仅仅发布exmls文件:npm run buildExml
[
项目名称
]
。比如npm run buildExml kickball-egret。
自动化图集合并说明
不会合并组内的jpg。一般jpg都是外部加载,合入png图集,会显著增加png图集的体积
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment