Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Latest commit

 

History

History
127 lines (79 loc) · 4.43 KB

File metadata and controls

127 lines (79 loc) · 4.43 KB

Contributing to Bitcoin Computer Bitcore

We are meeting every weekday at 11 am pacific time on Skype. If you want to contribute email clemens@bitcointoken.com and we'll add you to the meeting. Feel free to ask any questions there. Otherwise, to get going on your own, follow the steps below.

Initial setup

Before contributing, fork the main repository into your personal namespace by clicking the "Fork" button on the project page. Then, clone the forked repository.

git clone git@github.com:[your_github_username]/bitcoin-source.git
cd bitcoin-source

Now add the main repository as a second remote.

git remote add upstream git@github.com:the-bitcoin-token/bitcoin-source.git
cd bitcoin-source

For each pull request

Before you make changes

Update your local master branch with the latest changes.

git checkout master
git pull upstream master

Create new local feature branch called [branch_name].

git checkout -b [branch_name]

You can now start to make your changes.

After you have made changes

Before issuing a pull request, make sure that all tests pass.

npm test
npm run lint

Add and commit your changes

git add [files_you_changed]
git commit -m [commit_message]

Update your local feature branch with the most recent changes from the remote repository.

git pull --rebase upstream master

After that, push your changes to your fork.

git push origin [branch_name]

Please write meaningful commit messages. Consider squashing minor changes into a single commit and rewording commit messages as needed.

To create a pull request, visit https://github.com/[your_github_username]/bitcoin-source/pull/new/[branch_name] and click on create pull request or click on the link that appears in the terminal.

We will review your code and possibly ask for changes before your code is pulled in to the main repository. If everything is OK, we'll merge your pull request and your code will be part of Bitcoin Computer Bitcore.

If you have any questions feel free to post them to github.com/the-bitcoin-token/bitcoin-source/issues.

Thanks for your time and code!