0

i am a cs student and i have got a question from my homework

A and B work on the same module. A works on A-Branch, B works on B-Branch.

A Branch:

  1. a = 1
  2. b = 2
  3. //Number of cats
  4. c = 1
  5. //Number of dogs
  6. d = 42

B Branch:

  1. a = 1
  2. b = 2
  3. //Number of cats
  4. c = 2
  5. //Number of dogs
  6. d = 42

B wants to apply this setting in 4th row("c=2" ->"c=1") to his file. But he just wants to take only this row, not the whole file or other files. what should A und B do?

tourist
  • 4,165
  • 6
  • 25
  • 47
lee
  • 1

1 Answers1

0

B should commit his changes to his B-branch and ask A to pull from B-branch.

Rajesh V
  • 146
  • 4