-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Update README to include forking instructions before cloning repository #10286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @[email protected]. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
#### To start the development environment for the first time | ||
|
||
Clone the current repository using `git clone https://github.com/WordPress/wordpress-develop.git`. Then in your terminal move to the repository folder `cd wordpress-develop` and run the following commands: | ||
Goto https://github.com/WordPress/wordpress-develop and fork the repository to your own GitHub account. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Goto https://github.com/WordPress/wordpress-develop and fork the repository to your own GitHub account. | |
Go to https://github.com/WordPress/wordpress-develop and fork the repository to your own GitHub account. |
Goto https://github.com/WordPress/wordpress-develop and fork the repository to your own GitHub account. | ||
|
||
Then clone the forked repository to your computer using `git clone https://github.com/<your-username>/wordpress-develop.git`. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, if you have the GitHub CLI installed, you can just run `gh repo fork WordPress/wordpress-develop --clone --remote`. This will automatically add an `upstream` remote as well. | |
Clone the current repository using `git clone https://github.com/WordPress/wordpress-develop.git`. Then in your terminal move to the repository folder `cd wordpress-develop` and run the following commands: | ||
Goto https://github.com/WordPress/wordpress-develop and fork the repository to your own GitHub account. | ||
|
||
Then clone the forked repository to your computer using `git clone https://github.com/<your-username>/wordpress-develop.git`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then clone the forked repository to your computer using `git clone https://github.com/<your-username>/wordpress-develop.git`. | |
Then clone the forked repository to your computer using `git clone https://github.com/<your-username>/wordpress-develop.git`. Add the origin repo as an `upstream` remote via `git remote add upstream https://github.com/WordPress/wordpress-develop.git`; then you can keep your branches up to date via `git pull --ff upstream/trunk`, for example. |
Trac ticket: https://core.trac.wordpress.org/ticket/64100