excalidraw/CONTRIBUTING.md
davidbonan a73e4e28aa Add contributing md (#279)
* Add contributing setup file

* Add sandbox method
2020-01-09 12:06:24 +01:00

712 B

Contributing

Setup

Option 1 - Manual

  1. Fork and clone the repo
  2. Run npm install to install dependencies
  3. Create a branch for your PR with git checkout -b your-branch-name

To keep master branch pointing to remote repository and make pull requests from branches on your fork. To do this, run:

git remote add upstream https://github.com/excalidraw/excalidraw.git
git fetch upstream
git branch --set-upstream-to=upstream/master master

Option 2 - Codesandbox

  1. Go to https://codesandbox.io/s/github/excalidraw/excalidraw
  2. Connect your Github account
  3. Go to Git tab on left side
  4. Tap on Fork Sandbox
  5. Write your code
  6. Commit and PR automatically