Skip to content

Commit

Permalink
website: Add git remote add to contributing.md (#68)
Browse files Browse the repository at this point in the history
Without adding the main gem5 repository as a remote, the command for
syncing a fork and local repository to the main gem5 repository
does not work. `upstream` needs set. This patch fixes this error.
  • Loading branch information
BobbyRBruce authored Jul 19, 2023
1 parent f3a63af commit ee4d827
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _pages/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,10 @@ This can be done via the GitHub web interface and, if so, you should `git pull`
To do so from the command line:

```sh
# Add the main gem5 repository as a remote on your local repository. This only
# needs done once.
git remote add upstream https://github.com/gem5/website.git

git fetch upstream # Obtain the latest from the gem5 repo.
git switch develop # Switch to the develop branch.
git merge upstream/develop # Merge the latest changes into the develop branch.
Expand Down

0 comments on commit ee4d827

Please sign in to comment.