forked from jquery/jquery
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Align CONTRIBUTING.md with
3.x-stable
Closes jquerygh-5567 Ref jquerygh-5564
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,43 +71,43 @@ We *love* when people contribute back to the project by patching the bugs they f | |
|
||
Create a fork of the jQuery repo on GitHub at https://github.com/jquery/jquery | ||
|
||
Clone your jQuery fork to work locally | ||
Clone your jQuery fork to work locally: | ||
|
||
```bash | ||
$ git clone [email protected]:username/jquery.git | ||
``` | ||
|
||
Change directory to the newly created dir jquery/ | ||
Change directory to the newly created dir `jquery/`: | ||
|
||
```bash | ||
$ cd jquery | ||
``` | ||
|
||
Add the jQuery main as a remote. I label mine "upstream" | ||
Add the jQuery `main` as a remote. I label mine `upstream`: | ||
|
||
```bash | ||
$ git remote add upstream [email protected]:jquery/jquery.git | ||
``` | ||
|
||
Get in the habit of pulling in the "upstream" main to stay up to date as jQuery receives new commits | ||
Get in the habit of pulling in the "upstream" main to stay up to date as jQuery receives new commits: | ||
|
||
```bash | ||
$ git pull upstream main | ||
``` | ||
|
||
Install the necessary dependencies | ||
Install the necessary dependencies: | ||
|
||
```bash | ||
$ npm install | ||
``` | ||
|
||
Build all jQuery files | ||
Build all jQuery files: | ||
|
||
```bash | ||
$ npm run build:all | ||
``` | ||
|
||
Start a test server | ||
Start a test server: | ||
|
||
```bash | ||
$ npm run test:server | ||
|