Skip to content

kelechiP/dev-meeting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dev Meeting Introduction to The GitHub Workflow

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
  1. Introduction
  2. Following GitHub Flow

Introduction

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.

Prerequisites

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".

Following GitHub Flow

  1. Create a branch
  2. Make changes
  3. Create a pull request
  4. Address review comments
  5. Merge your pull request
  6. Delete your branch

GitHub Command

Git Data Transport with origin

Source: https://blog.osteele.com/2008/05/my-git-workflow/

Git Data Transport with upstream

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 upstream repository

Synching a fork branch from the web UI

  1. On GitHub, navigate to the main page of the forked repository that you want to sync with the upstream repository.
  2. Select the Sync fork dropdown.

  1. Review the detaisl about the commits from the upstream repository, then click Update branch.

Synching a fork branch from the command line

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

About

Introduction to working with Upstream

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages