Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.26 KB

CONTRIBUTING.md

File metadata and controls

42 lines (27 loc) · 1.26 KB

Contribuiting

Setting up

  1. Create a GitHub account if you don't already have one.
  2. Install and set up Git.

Forking

  1. Create your own fork of the gcloud-flutter-dota-app repository by clicking "Fork" in the Web UI. During local development, this will be referred to by git as origin.

  2. Download your fork to a local repository.

git clone git@github.com:<your username>/gcloud-flutter-dota-app.git
  1. Add an alias called upstream to refer to the main alvarowolfx/gcloud-flutter-dota-app repository. Go to the root directory of the newly created local repository directory and run:
git remote add upstream git@github.com:alvarowolfx/gcloud-flutter-dota-app.git
  1. Fetch data from the upstream remote:
git fetch upstream master
  1. Set up your local master branch to track upstream/master instead of origin/master (which will rapidly become outdated).
git branch -u upstream/master master

Branch (do this each time you want a new branch)

Create and go to the branch:

git checkout -b <branch name> master