]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Documenting pull requests
authorTim Wood <washwithcare@gmail.com>
Mon, 9 Apr 2012 16:24:16 +0000 (09:24 -0700)
committerTim Wood <washwithcare@gmail.com>
Mon, 9 Apr 2012 16:24:16 +0000 (09:24 -0700)
README.markdown

index fd4690a6804f58485ea40e2afd333b55e4e33784..7a25720b306820e46facad10ec2a3ef3b466cbe2 100755 (executable)
@@ -32,6 +32,19 @@ To minify all the files, use `make moment` to minify moment, `make langs` to min
 
 If your code passes the unit tests (including the ones you wrote), submit a pull request.
 
+Submitting pull requests
+========================
+
+Moment.js now uses [git-flow](https://github.com/nvie/gitflow). If you're not familiar with git-flow, please read up on it, you'll be glad you did.
+
+When submitting new features, please create a new feature branch using `git flow feature start <name>` and submit the pull request to the `develop` branch.
+
+Pull requests for enhancements for features should be submitted to the `develop` branch as well.
+
+When submitting a bugfix, please check if there is an existing bugfix branch. If the latest stable version is `1.5.0`, the bugfix branch would be `hotfix/1.5.1`. All pull requests for bug fixes should be on a `hotfix` branch, unless the bug fix depends on a new feature.
+
+The `master` branch should always have the latest stable version. When bugfix or minor releases are needed, the develop/hotfix branch will be merged into master and released.
+
 Thanks to...
 ============