Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
git-seminar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
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
Scientific Computing
education
git-seminar
Commits
8d896291
Commit
8d896291
authored
6 years ago
by
ck85nori
Browse files
Options
Downloads
Patches
Plain Diff
improves conflicts and rebase sections
parent
6e22e0c7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
basics.html
+15
-10
15 additions, 10 deletions
basics.html
with
15 additions
and
10 deletions
basics.html
+
15
−
10
View file @
8d896291
...
...
@@ -854,7 +854,8 @@
```bash
git remote add alice https://...
git fetch alice
git merge alice/master
git checkout master
git merge alice/topic/feature
# fix conflicts
git push
```
...
...
@@ -863,6 +864,7 @@
```bash
git fetch upstream
git checkout topic/feature
git merge origin/master
# fix conflicts
git push
...
...
@@ -919,31 +921,34 @@
# backup slides
</section>
<section
id=
"collab-
conflicts-rebase
"
data-markdown
>
<section
id=
"collab-
rebase-maintainer
"
data-markdown
>
## rebasing
### maintainer
###
as
maintainer
```bash
git remote add alice https://...
git fetch alice
git rebase
master alice/master
git rebase
[--interactive] master alice/topic/feature
# fix conflicts
git push
# close merge request
#
manually
close merge request
```
### contributor
notes:
- manually close merge request because no merge commit
</section>
<section
id=
"collab-rebase-contributor"
data-markdown
>
## rebasing
### as contributor
```bash
git fetch upstream
git rebase origin/master
master
git rebase origin/master
topic/feature
# fix conflicts
# force push because branch history changed
git push --force
```
notes:
- manually close merge request because no merge commit
</section>
</section>
</div>
...
...
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