Skip to content

Commit 484e793

Browse files
committed
Merge pull request #107 from NativeScript/fatme/improve-contributing
Improve contributing.md
2 parents 6a47562 + f3150ec commit 484e793

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

CONTRIBUTING.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,23 @@ Contribute to the Code Base
3838
Before you submit a Pull Request, consider the following guidelines.
3939

4040
* Search <a href="https://github.com/Icenium/icenium-cli/pulls">GitHub</a> for an open or closed Pull Request that relates to your submission.
41+
* Clone the repository.
42+
```bash
43+
git clone [email protected]:NativeScript/nativescript-cli.git
44+
```
45+
* Initialize the submodule.
46+
```bash
47+
git submodule init
48+
```
49+
* Fetch data from the submodule.
50+
```bash
51+
git submodule update
52+
```
4153
* Make your changes in a new `git` branch. We use the <a href="http://nvie.com/posts/a-successful-git-branching-model/">Gitflow branching model</a> so you will have to branch from our develop branch.
4254
```bash
4355
git checkout -b my-fix-branch develop
4456
```
4557
* Create your patch and include appropriate test cases.
46-
* Commit your changes and create a descriptive commit message (the commit message is used to generate release notes).
47-
```bash
48-
git commit -a
49-
```
5058
* Build your changes locally.
5159
```bash
5260
grunt
@@ -55,6 +63,10 @@ Before you submit a Pull Request, consider the following guidelines.
5563
```bash
5664
grunt test
5765
```
66+
* Commit your changes and create a descriptive commit message (the commit message is used to generate release notes).
67+
```bash
68+
git commit -a
69+
```
5870
* Push your branch to GitHub.
5971
```bash
6072
git push origin my-fix-branch

0 commit comments

Comments
 (0)