Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Lichtenberger committed Oct 19, 2019
1 parent e17de36 commit 95680b6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions CONTRIBUTING.md
Expand Up @@ -16,3 +16,21 @@ Some things to consider:
* Write tests
* Follow the existing coding style
* Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)

## Setup your fork

Fork this repository! Once you have a copy of this repo on your own account, clone this repo to your computer by typing in something like:

1. `git clone https://github.com/sirixdb/sirix.git`

(Replace the URL with your own repository URL path.)

2. Run `cd sirix`. Then, set up this repository as an upstream branch using:
* `git remote add upstream https://github.com/sirixdb/sirix.git`

Now, whenever you want to sync with the owner repository. Do the following:
* `git fetch upstream`
* `git checkout staging`
* `git merge upstream/staging`

Note: You can type `git remote -v` to check which repositories your `origin` and `upstream` are pointing to.

0 comments on commit 95680b6

Please sign in to comment.