|
2 | 2 |
|
3 | 3 | The instructions outlined below shows a few (but far from all) ways for creating a copy of the repository and contribute with changes.
|
4 | 4 |
|
5 |
| -# Using Visual Studio Code |
6 |
| -*to be added* |
| 5 | +# Creating a local copy of the repository |
| 6 | +Create a github user: [Link to Github](https://github.com/) |
7 | 7 |
|
8 |
| -# Alternative approach |
9 |
| -- Create a github user |
| 8 | +Create your own fork of the repository with the fork button in the upper right corner: |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | +Copy the link of your fork: |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | +Continue with one of the following methods: |
| 17 | + |
| 18 | +## Using Visual Studio Code |
| 19 | +Press the "Clone Repository" button under the "Source Control" tab and follow the instructions: |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +## Using commandline tools |
10 | 24 | - `git clone <repository name>`
|
11 |
| -- e.g. `git clone git@github.com:OSIPI/TF2.4_IVIM-MRI_CodeCollection.git` |
| 25 | +- e.g. `git clone git@github.com:oscarjalnefjord/TF2.4_IVIM-MRI_CodeCollection.git` |
| 26 | + |
| 27 | +# Contributing changes |
| 28 | +If you have made changes, e.g. added new IVIM code from you group or made some change to the existing code, it can be transfered to the OSIPI repository by a commit and pull request. |
| 29 | + |
| 30 | +First, upload your changes to github by a commit (see alternative methods below). |
| 31 | + |
| 32 | +Second, generate a pull request for the OSIPI repository maintainers to accept by pressing the "Contribute" and then "Open pull request". Follow the instructions and write a message for the maintainers such that it is understandable what changes and/or additions to the code are intended to do. |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +## Using Visual Studio Code |
| 37 | +Press the "Commit" button under the "Source Control" tab after writing some short description of the commit e.g. "nlls fitting GU SWE": |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | +Push the changes to github with the "Sync Changes" button under the "Source Control" tab: |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +## Using commandline tools |
| 46 | +- `git commit -am "commit message"` |
| 47 | +- `git push` |
0 commit comments