emonmit / gif Goto Github PK
View Code? Open in Web Editor NEWa project for git flow
a project for git flow
git-flower 按照相关规则,尽量规范团队内常用的git操作,避免误操作,提高git使用能力及效率。
操作基于Git Bash,整合git基础命令,降低git bash操作的学习使用门槛
gitFlow.config 中以 json格式记录团队相关配置项的值
featureBranchPrefix : 特性分支的前缀规范(如:"feat-{date(YYMMDD)}-",函数表见附录)
featureBranchSufix : 特性分支的后缀规范(如:"-{arthor()}")
这里暂不明确,预留
使用方法:
```
gitflow(gif) init featureName [commitId/branch/tag]
```
默认从主分支拉取,加上数据源参数可以从特定commit拉取新的分支作为特性分支
实际执行的命令集:
```
git checkout master(commitId/branch/tag)
git pull
git checkout -b featureBranchPrefix.featureName.featureBranchSufix
git push -u origin featureBranchPrefix.featureName.featureBranchSufix
```
操作结果,从主分支(或指定分支)拉取最新代码创建特性分支:feat-20180227-featureName-wentsk,并建立远程分支
使用方法:
```
1) gif co fullBranchName //同git checkout fullBranchName ,需要使用分支全名
2) gif cof branchName //f后缀为特性分支标记,此时branchName应用配置的前后缀,忽略date()等时效性函数进行匹配
```
使用方法:
```
1) gif co fullBranchName //同git checkout fullBranchName ,需要使用分支全名
2) gif cof branchName //f后缀为特性分支标记,此时branchName应用配置的前后缀,忽略date()等时效性函数进行匹配
```
Formatter: YYMMDD
yyyy-mm-dd
......
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.