Expand my Community achievements bar.

SOLVED

. A Developer created a new branch (second) directly in the Cloud Manager Git repository (origin). Which commands should be taken to synchronize the Cloud Manager Git with the local Git repository

Avatar

Level 7

What are the correct answer from below 

option 1 

git fetch

git checkout -b second origin /second

 

option 2 

git pull

git fetch second

 

option 3 

git checkout -b second origin/second 

git push -u origin master

 

option 4 

git commit -am second 

git push -u origin master

 

Thanks !

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @JakeCham 
The correct answer is: Option 3

git checkout -b second origin/second  

git push -u origin master 


Thanks.



View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @JakeCham 
The correct answer is: Option 3

git checkout -b second origin/second  

git push -u origin master 


Thanks.



Avatar

Administrator

@JakeCham Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni