Skip to content
buck54321 edited this page Apr 28, 2020 · 2 revisions

The dcrdex wiki provides documentation for dcrdex users and developers.

Contribute changes to the wiki

The following instructions assume that you have already forked dcrdex.

  1. Initialize your forked wiki on github by navigating to the wiki tab of your forked dcrdex repo and clicking the "Create the first page" button.
  1. In your terminal, navigate to your local dcrdex directory and clone the wiki from the decred/dcrdex repo.

git clone https://github.com/decred/dcrdex.wiki.git wiki

  1. Create a remote for your fork's wiki, replacing 'your-username' with your username.

cd wiki; git remote add me https://github.com/your-username/dcrdex.wiki.git

  1. Create a branch to track the decred/dcrdex wiki.

git checkout -b master-upstream origin/master

  1. Now when you want to do some work, create a new branch based on this one.

git checkout master-upstream

git pull

git checkout -b cool-stuff

  1. Unfortunately, you cannot view any wiki branch but master on github, so you'll want to commit your changes to your fork's master wiki branch and view them in your repo at github before requesting a merge.

git push --force me cool-stuff:master

  1. Also unfortunately, github does not support pull requests for wikis, so contact @chappjc, and tell him you'd like to merge changes from your forked repo wiki. Keep your wiki master branch updated with your changes as you make them so that they can be viewed during review.
Clone this wiki locally