Skip to content
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

Describe how to sync a fork when contributing #9

Closed
hoeghh opened this issue Nov 27, 2020 · 0 comments
Closed

Describe how to sync a fork when contributing #9

hoeghh opened this issue Nov 27, 2020 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@hoeghh
Copy link
Collaborator

hoeghh commented Nov 27, 2020

To help beginners, we should add a section on how to sync a fork of this repo, so people can keep contributing.

Something like

# Add the remote, call it "upstream":

git remote add upstream https://github.com/jonasvinther/medusa

# Fetch all the branches of that remote into remote-tracking branches

git fetch upstream

# Make sure that you're on your master branch:

git checkout main

# Rewrite your main branch so that any commits of yours that
# aren't already in upstream/main are replayed on top of that
# other branch:

git rebase upstream/main
@hoeghh hoeghh added the documentation Improvements or additions to documentation label Nov 27, 2020
@hoeghh hoeghh self-assigned this Nov 27, 2020
@hoeghh hoeghh closed this as completed Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant