What is remote and origin?


#1

I dont get what origin and remote both mean. Also, what is origin/master branch?? is it another kind of branch? but if i type "git branch" i only have one branch called "master". It doesnt make any sense. now im confused. help me pls ps. also on exercise 5.git merge when i do the command "git merge origin/master" it says that it is already up to date. And i cant go on to the next section.

Thank u


#2

remotes are other repositories that your repository keeps track of. origin is a name that you gave such a remote. origin/master is the branch named master in that other repository

You might need to fetch again, perhaps even refresh page (or open a new bash tab)


#3

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