Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    "I know it's supposed to be easy, only I am new to Git and a little bit confused of its terminology" -- read the Git book and it will be easy for you too.
    – axiac
    Commented Dec 4, 2017 at 11:30
  • Origin is the remote server. HEAD is just the reference to the last commit what made in the currently checked out branch. When you switch branch HEAD points at the top of the new branch. You can think of HEAD and tail analogy. Commented Dec 4, 2017 at 11:31
  • 1
    @LethalProgrammer : Thanks for the explanation
    – user4676463
    Commented Dec 4, 2017 at 11:53
  • 1
    This question is the same as yours, except that it is not about how to do this in Visual Studio specifically. But I suppose the steps outlined in the answers to that question can also be taken in Visual Studio, if that is what you are looking for. Commented Dec 4, 2017 at 13:10