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
4e41cb2a
Commit
4e41cb2a
authored
5 years ago
by
Saad Jbabdi
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://git.fmrib.ox.ac.uk/fsl/pytreat-practicals-2020
into saad-edits
parents
fa97eb90
7e8e4c56
No related branches found
No related tags found
1 merge request
!8
Saad edits
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+18
-13
18 additions, 13 deletions
README.md
with
18 additions
and
13 deletions
README.md
+
18
−
13
View file @
4e41cb2a
...
@@ -65,10 +65,10 @@ https://git.fmrib.ox.ac.uk/fsl/pytreat-practicals-2020
...
@@ -65,10 +65,10 @@ https://git.fmrib.ox.ac.uk/fsl/pytreat-practicals-2020
Updates to the master branch should occur via merge requests. You can choose
Updates to the master branch should occur via merge requests. You can choose
to either work on a branch within this repository, or on a fork of this
to either work on a branch within this repository
(recommended)
, or on a fork of this
repository.
repository
(advanced)
.
### Using a branch within this repository
### Using a branch within this repository
(recommended)
1.
Make a local clone of the repository:
1.
Make a local clone of the repository:
...
@@ -98,8 +98,10 @@ repository.
...
@@ -98,8 +98,10 @@ repository.
5.
In gitlab, submit a merge request from your branch onto the master
5.
In gitlab, submit a merge request from your branch onto the master
branch.
branch.
https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html
### Using a fork of this repository
### Using a fork of this repository (advanced)
1.
Fork the upstream repository on gitlab
1.
Fork the upstream repository on gitlab
...
@@ -130,6 +132,8 @@ repository.
...
@@ -130,6 +132,8 @@ repository.
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.
https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html
### Updating your local repository
### Updating your local repository
...
@@ -137,22 +141,23 @@ repository.
...
@@ -137,22 +141,23 @@ repository.
To bring in the changes that other people have contributed to the main
To bring in the changes that other people have contributed to the main
repository into your local repository:
repository into your local repository:
```
```
git fetch --all
git fetch --all
# make sure you are on the correct local branch - if you followed the
```
# instructions above and are working on a fork of the main repository:
git checkout master
Then, do this if you are working on a branch within the main repository:
# Or if you are working on a branch within the main repository:
```
# make sure you are on the correct local branch:
git checkout my_cool_branch
git checkout my_cool_branch
git merge origin/master
```
# Do this if you are working on a fork of the main repository
Or, do this if you are working on a fork of the main repository:
```
git checkout master
git merge upstream/master
git merge upstream/master
# Or do this if you are working on a branch within the main repository
git merge origin/master
```
```
...
...
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