Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Devops
  3. Question
Devops

git origin master - What is the difference between origin/master vs origin master in Git?

Asked by Leah Harris Jul 1, 2021 2.5K views 1 answer
Share

About this question

I know, the origin is a term for the remote repository and master is the branch there.

I am purposely omitting the "context" here and I am hoping that the answer should not depend upon the context. So in git command lines, What is git origin master? And what is the difference between origin/master and origin master? Is there a non-ambiguous way to understand when to use origin/master and when I should use origin master? 

Your answer

1 Answer

More Devops discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest DevOps Blogs

Guides, tips and career advice on DevOps from JanBask experts.