- Create a GitHub account if you don't already have one.
- Install and set up Git.
-
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
asorigin
. -
Download your fork to a local repository.
git clone git@github.com:<your username>/gcloud-flutter-dota-app.git
- Add an alias called
upstream
to refer to the mainalvarowolfx/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
- Fetch data from the
upstream
remote:
git fetch upstream master
- Set up your local
master
branch to trackupstream/master
instead oforigin/master
(which will rapidly become outdated).
git branch -u upstream/master master
Create and go to the branch:
git checkout -b <branch name> master