Skip to content

Commit 3122596

Browse files
Copilotswissspidy
andcommitted
Add links to GitHub documentation for forking and adding remotes
Co-authored-by: swissspidy <[email protected]>
1 parent 0380c9f commit 3122596

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contributions/pull-requests.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Within this package, you should preferably use `vendor/bin/wp` to run the comman
6868

6969
1. Install [Composer](https://getcomposer.org/) if you don't already have it.
7070
2. Clone the WP-CLI git repository to your local machine: `git clone [email protected]:wp-cli/wp-cli.git ~/wp-cli`
71-
3. Change into the cloned directory: `cd ~/wp-cli`. If you are going to work on the core framework itself, fork the repository on GitHub through the web UI and add it as a remote: `git remote add fork [email protected]:yourusername/wp-cli.git`
71+
3. Change into the cloned directory: `cd ~/wp-cli`. If you are going to work on the core framework itself, [fork the repository](https://docs.github.com/en/get-started/quickstart/fork-a-repo) on GitHub through the web UI and [add it as a remote](https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories#adding-a-remote-repository): `git remote add fork [email protected]:yourusername/wp-cli.git`
7272
4. Install all Composer dependencies: `composer install --prefer-source`
7373
5. Alias the `wp` command to your new WP-CLI install: `alias wp='~/wp-cli/bin/wp'`
7474
6. Verify WP-CLI was installed properly: `wp --info`
@@ -79,8 +79,8 @@ Commands available for standalone installation (e.g. `wp dist-archive`) can be i
7979

8080
Importantly, you'll need to fork each repository in order to have a remote to push to. For each repository you want to contribute to:
8181

82-
1. Fork the repository on GitHub through the web UI
83-
2. Add your fork as a remote:
82+
1. [Fork the repository](https://docs.github.com/en/get-started/quickstart/fork-a-repo) on GitHub through the web UI
83+
2. [Add your fork as a remote](https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories#adding-a-remote-repository):
8484

8585
$ cd vendor/wp-cli/scaffold-command
8686
$ git remote add fork [email protected]:yourusername/scaffold-command.git

0 commit comments

Comments
 (0)