-
Notifications
You must be signed in to change notification settings - Fork 96
Home
JoeGruffins edited this page Aug 1, 2022
·
6 revisions
The dcrdex wiki provides documentation for dcrdex users and developers.
Most likely you want to look at the README or the spec instead of these wiki pages.
The following instructions assume that you have already forked dcrdex.
- 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.
- 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
- 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
- Create a branch to track the decred/dcrdex wiki.
git checkout -b master-upstream origin/master
- 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
- 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
- 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.