url |
Note | |
|---|---|---|
upstream |
https://github.com/kelechiP/dev-meeting.git |
Original repository that is usuallyl forked |
origin |
https://github.com/knwachuk/dev-meeting.git |
Cloned repository |
The purpose of this repository is the introduction to working in The GitHub Workflow. In a nutshell, the GitHub flow is a leightweight, branch-based workflow.
To follow GitHub flow, you will need a GitHub account and a repository. For information on how to create an account, see "Signing up for GitHub". For information on how to create a repository, see "Create a repo".
- Create a branch
- Make changes
- Create a pull request
- Address review comments
- Merge your pull request
- Delete your branch
Source: https://blog.osteele.com/2008/05/my-git-workflow/
Source: https://happygitwithr.com/upstream-changes.html
Sync a fork of a repository to keit it up-to-date with the upstream repository.
Who cna use this feature People with write access for a forked repository can sync the fork to the
upstreamrepository
- On GitHub, navigate to the main page of the forked repository that you want to sync with the upstream repository.
- Select the Sync fork dropdown.
- Review the detaisl about the commits from the upstream repository, then click Update branch.
Before you can sync a fork with an upstream repository, you must configure a remote that points to the upstream repository in Git.
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git





