Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block 1, Task 3: Merge Conflict Drill #3

Open
5 tasks
mbannert opened this issue Sep 22, 2020 · 0 comments
Open
5 tasks

Block 1, Task 3: Merge Conflict Drill #3

mbannert opened this issue Sep 22, 2020 · 0 comments
Labels
task student task / exercise

Comments

@mbannert
Copy link
Contributor

mbannert commented Sep 22, 2020

Though good co-ordination avoids merge conflicts most of the time in practice it is important to know how to fix them when they occur. Most of the time common sense, like not editing the same files at the same time, is enough to avoid conflicts on smaller teams. Yet despite their relatively rare nature, in this task, let's create a merge conflict.

  • let one member of your group create a new repository on their GitHub account.

  • use the repository settings and your teammates' GitHub account names to add collaborators.

  • clone the repository and get to work ...

  • create a file named task-3-name-of-your-group.md

  • add your name to that file: add, commit, pull, push. Depending on who was the first in your group to push. You will get a merge conflict. Which version is the right one? Are all versions to be kept? Work together to remove the conflict and push the result.

The goal in the end is to have an .md file for your group in which all members entered their names on their own that looks like this:

  • Donald Duck
  • Bugs Bunny
  • Superman
  • Batman
  • Globi
@mbannert mbannert added the task student task / exercise label Sep 22, 2020
@mbannert mbannert changed the title Task 3: Merge Conflict Drill Block 1, Task 3: Merge Conflict Drill Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task student task / exercise
Projects
None yet
Development

No branches or pull requests

1 participant