Skip to content

Commit 17c2cdd

Browse files
authored
docs: clarify difference between external contributors and Cloudflare employees (#7660)
* docs: clarify difference between external contributors and Cloudflare employees * chore: update wording on write access * chore: run prettier
1 parent e771fe9 commit 17c2cdd

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CONTRIBUTING.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Wrangler is built and run on the Node.js JavaScript runtime.
2323

2424
### Fork and clone this repository
2525

26+
#### For External Contributors
27+
2628
Any contributions you make will be via [Pull Requests](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests) on [GitHub](https://github.com/) developed in a local git repository and pushed to your own fork of the repository.
2729

2830
- Ensure you have [created an account](https://docs.github.com/en/get-started/onboarding/getting-started-with-your-github-account) on GitHub.
@@ -57,6 +59,26 @@ Any contributions you make will be via [Pull Requests](https://docs.github.com/e
5759
Already up to date.
5860
```
5961

62+
#### For Cloudflare Employees
63+
64+
If you are a Cloudflare employee, you do not need to fork the repository - instead, you can clone the main repository directly. This allows you to push branches directly to the upstream repository.
65+
66+
If you find that you don't have write access, please reach out to your manager or the Wrangler team internally.
67+
68+
Clone the main repository:
69+
70+
```sh
71+
git clone https://github.com/cloudflare/workers-sdk.git
72+
cd workers-sdk
73+
```
74+
75+
Create new branches directly in the cloned repository and push them to the main repository:
76+
77+
```sh
78+
git checkout -b <new-branch-name>
79+
git push origin <new-branch-name>
80+
```
81+
6082
### Install dependencies
6183

6284
**Warning**

0 commit comments

Comments
 (0)