Skip to content

hollyos/basic-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Basic GitHub Project Setup

Synopsis

Basic steps to follow when getting your team set up on GitHub work flow.

Getting Started

Local Setup

  1. Fork repo

  2. Clone down your repo and cd to directory

  3. Set up upstream branch and verify upstream was created

git remote add upstream <main repo link (https or ssh)>
git remote -v

Work Flow

  1. Work in feature branches. To create a branch use the -b modifier. Documentation on branching & merging.
git checkout -b <yourBranch>
  1. Add changes
git add -A
  1. Pull most recent changes from upstream
git pull upstream <yourBranch>
  1. Commit changes
git commit -m "your commit message"
  1. Switch branches to master then merge <yourBranch> to master
git checkout master
git merge <yourBranch>
  1. Ensure you're up to date with master
git pull upstream master
  1. If there are changes commit your the changes from your pull
git commit -m "your commit message"
  1. Push changes to origin (your repo)
git push origin master
  1. Submit pull request to upstream. Utilize the GUI on GitHub in your repo.

  2. Pull Requests should be reviewed and approved by at least 2 members to ensure quality. Utilize the comments to gain team approvals.

  3. Once team members agree code is up to snuff the repo owner/admin can merge the pull request (utilize the GUI).

Contributors

Holly Springsteen

About

Basic steps to follow when getting your team set up on GitHub work flow.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published