Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2875e2c

Browse files
authored
Merge pull request plotly#978 from plotly/cldougl-patch-1
update contribute guide
2 parents e7b539c + 64a57de commit 2875e2c

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

Contributing.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,30 @@ exclude: []
5656

5757
and it'll load everything.
5858

59+
## Make a PR
60+
Ready for your changes to be reviewed? Make a pull request against the `source-design-merge` branch!
61+
Create a feature branch and use `git status` to list changed files.
62+
```
63+
git checkout -b your_feature_branch
64+
git status
65+
```
66+
Add, commit, and push the files that you'd like to add to your pr:
67+
```
68+
git add file-a
69+
git add file-b
70+
git commit -m 'message about your changes'
71+
git push origin your_feature_branch
72+
```
73+
Visit the [documentation repo](https://github.com/plotly/documentation) and open a pull request against the `source-design-merge` branch. You can then tag @cldougl and @bcdunbar for a review.
74+
5975
## Deploying Changes
60-
Our repo has become too big for github to process. Edit files on the `source-design-merge` branch instead of the `gh-pages` branch.
76+
After your PR has been approved and you have merged it into the `source-design-merge` branch you can deploy your changes! Our repo has become too big for github to process. Edit files on the `source-design-merge` branch instead of the `gh-pages` branch.
77+
78+
First checkout the `source-design-merge` branch (if you were still on your feature branch) and pull (you should see the changes from your latest merged pr):
79+
```
80+
git checkout source-design-merge
81+
git pull origin source-design-merge
82+
```
6183

6284
Deploy changes with:
6385
```

0 commit comments

Comments
 (0)