How to merge the origin master/branch when commit not get accepted


#1



https://www.codecademy.com/en/courses/learn-git/lessons/git-teamwork/exercises/git-merge-ii?action=resume


I try to solve the task, but it doesnt work. Im changed to the directory my-quizzes with "cd".

But the second step doesnt work or I just dont understand whats meant:

You are on your local master branch. In your commit history, the commit message of the HEAD commit is:

Add first question to Physics quiz
From the terminal, merge with origin/master, where Sally's most recent commits are.

But I can not solve it.
Can you help me?
Thanks



#2

Hi you should type..

$ git merge origin/master

#3

Why this solved the issue?
Can you explain me please.

Thanks :slight_smile:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.