Skip to content

Commit 2a5a37e

Browse files
Build/Test Tools: Correct git pull command for syncing with upstream.
Follow-up to [61202]. Props mkrndmane, mukesh27, khokansardar, dhruvang21, SergeyBiryukov. Fixes #65540. git-svn-id: https://develop.svn.wordpress.org/trunk@62566 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 752d544 commit 2a5a37e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can get started using the local development environment with these steps:
3939
1. Then clone the forked repository to your computer using `git clone https://github.com/<your-username>/wordpress-develop.git`.
4040
1. Navigate into the directory for the cloned repository using `cd wordpress-develop`.
4141
1. Add the origin repo as an `upstream` remote via `git remote add upstream https://github.com/WordPress/wordpress-develop.git`.
42-
1. Then you can keep your branches up to date via `git pull --ff upstream/trunk`, for example.
42+
1. Then you can keep your branches up to date via `git pull --ff upstream trunk`, for example.
4343

4444
Alternatively, if you have the [GitHub CLI](https://cli.github.com/) installed, you can simply run `gh repo fork WordPress/wordpress-develop --clone --remote` ([docs](https://cli.github.com/manual/gh_repo_fork)). This command will:
4545
1. Fork the repository to your account (use the `--org` flag to clone into an organization).

0 commit comments

Comments
 (0)