Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.23 KB

GIT-WORKFLOW.md

File metadata and controls

49 lines (34 loc) · 1.23 KB

git contribution workflow

We develop using triangular workflows on git.

For local deployment please create a fork of the Toucan SDK repo.

Clone your fork:

git clone [email protected]:YOURUSERNAME/toucan-sdk.git
git config remote.pushdefault origin
git config push.default current

next add the root repository as upstream:

git remote add upstream [email protected]:ToucanProtocol/toucan-sdk.git
git fetch upstream

Run:

git remote -v

and you should see something like:

origin	[email protected]:YOURUSERNAME/toucan-sdk.git (fetch)
origin	[email protected]:YOURUSERNAME/toucan-sdk.git (push)
upstream	[email protected]:ToucanProtocol/toucan-sdk.git (fetch)
upstream	[email protected]:ToucanProtocol/toucan-sdk.git (push)

Feature flow:

git checkout main && git pull --ff-only upstream main

Cmd+shift+. to copy your issue number from linear, and use it as your branch name:

git checkout -b co2-190-small-edits-on-the-home-page

To open a PR push to your fork and open your PR to ToucanProtocol/toucan-sdk.