Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 1c0c3e7

Browse files
authored
Update contributing.md from staging to master (#697)
* refactor(.gitignore): Added .env.production to .gitignore * docs(contributing.md): Added details on how to contribute (#397) * docs(contributing.md): Added details on how to contribute #396 * docs(contributing.md): Updated the getting started section * docs(contributing.md): Fixed markedown linting errors
1 parent 38247bd commit 1c0c3e7

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ yarn-error.log
88
.DS_Store
99

1010
.env
11+
.env.production
1112
.firebase/*
1213
coverage
1314
.vscode

CONTRIBUTING.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,22 @@ In the case of an objection being raised in a pull request by another collaborat
5454
* [`squash`][] pull-requests made up of multiple commits
5555
* Land how you like as long as there are no merge commits
5656

57+
## Getting Started
58+
59+
For feature development you should be working from the staging branch.
60+
61+
* Fork
62+
* Clone your fork `git clone [email protected]:<githubid>/nodejs.dev.git`
63+
* cd into your project
64+
* Add the following to your remotes by doing `git remote add upstream [email protected]:nodejs/nodejs.dev.git`
65+
* Check out the staging branch by doing `git checkout upstream/staging`
66+
* Create a new branch for your awesome work `git checkout -b branchname`
67+
* Commit your work
68+
* Push to your branch `git push -u origin yourbranch`
69+
* Make a pull request against the remote branch `staging`
70+
* Example `https://github.com/nodejs/nodejs.dev/pull/398`
71+
* Mention @nodejs/website-redesign `/gcbrun`
72+
5773
## Developer's Certificate of Origin 1.1
5874

5975
By making a contribution to this project, I certify that:

0 commit comments

Comments
 (0)