Using branches

Preparation

You should find a partner to do this part so that you are two people: Alice and Bob (pick up the one you like).

  1. Alice must add Bob as a “Maintainer” of one of her project.
  2. Bob clone the project on his computer

Let’s go

Both Alice and Bob…

  1. Create a branch on their computer with different names
  2. Work on their branch, making sure they do not overlap with other one (e.g. each of them works on a different section or file)
  3. After a few commits, Alice merges her branch into master and push the result
  4. After a few commits, Bob does the same

Try such a pattern

Précédent
Suivant