Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pytreat-practicals-2020
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
pytreat-practicals-2020
Commits
d6fd4941
Commit
d6fd4941
authored
5 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
Update instructions
parent
fa618e6e
No related branches found
No related tags found
1 merge request
!1
Update instructions
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+38
-11
38 additions, 11 deletions
README.md
with
38 additions
and
11 deletions
README.md
+
38
−
11
View file @
d6fd4941
...
@@ -28,8 +28,8 @@ These notebooks can be run in the `fslpython` environment using:
...
@@ -28,8 +28,8 @@ These notebooks can be run in the `fslpython` environment using:
```
```
git clone git@git.fmrib.ox.ac.uk:fsl/pytreat-
2018-
practicals.git
git clone git@git.fmrib.ox.ac.uk:fsl/pytreat-practicals
-2020
.git
cd pytreat-
2018-
practicals
cd pytreat-practicals
-2020
fslpython -m notebook
fslpython -m notebook
```
```
...
@@ -52,41 +52,68 @@ Have fun!
...
@@ -52,41 +52,68 @@ Have fun!
## For contributors
## For contributors
The
upstream
repository can be found at:
The
main
repository can be found at:
https://git.fmrib.ox.ac.uk/fsl/pytreat-
2018-
practicals
https://git.fmrib.ox.ac.uk/fsl/pytreat-practicals
-2020
To contribute to the practicals:
Updates to the master branch should occur via merge requests. You can choose
to either work on a fork of this repository, or on a branch in this
repository. To contribute to the practicals using a fork:
1.
Fork the upstream repository on gitlab
1.
Fork the upstream repository on gitlab
2.
Make a local clone of your fork:
2.
Make a local clone of your fork:
```
```
git clone git@git.fmrib.ox.ac.uk:<username>/pytreat-
2018-
practicals
git clone git@git.fmrib.ox.ac.uk:<username>/pytreat-practicals
-2020
```
```
3.
Add the upstream repository as a remote:
3.
Add the upstream repository as a remote:
```
```
git remote add upstream git@git.fmrib.ox.ac.uk:fsl/pytreat-
2018-
practicals.git
git remote add upstream git@git.fmrib.ox.ac.uk:fsl/pytreat-practicals
-2020
.git
```
```
4.
Make your changes on your local repository
4.
Make your changes on your local repository
5.
Rebase onto the upstream repository, and p
ush your changes to your fork:
5.
P
ush your changes to your fork:
```
```
git fetch --all
git push origin master
git rebase upstream/master
git push --force origin master
```
```
6.
In gitlab, submit a merge request from your fork back to the upstream
6.
In gitlab, submit a merge request from your fork back to the upstream
repository.
repository.
Or, to contribute via a branch:
1.
Make a local clone of the repository:
```
git clone git@git.fmrib.ox.ac.uk:fsl/pytreat-practicals-2020
```
2.
Create a branch for your work:
```
git checkout -b my_cool_branch origin/master
```
3.
Make your changes on this branch.
4.
Push your changes to the gitlab repository:
```
git push origin my_cool_branch
```
5.
In gitlab, submit a merge request from your branch onto the master
branch.
You may also wish to install
You may also wish to install
[
`notedown`
](
https://github.com/aaren/notedown
)
:
[
`notedown`
](
https://github.com/aaren/notedown
)
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment