Visual Studio Tools for GIT - FETCH / PUBLISH vs PULL / PUSH

I like to use the CLI to interact with GIT, but I'm trying to understand VS Tools to extend the GIT in the interests of some team members who would prefer not the "CLI".

The user interface for VS Tools for the GIT extension has actions with the FETCH and PUBLISH labels that look like PULL and PUSH , but there are other actions in the user interface that are labeled PULL and PUSH , so the guess is weak.

So far, I don't think my confusion is with GIT, but rather with GIT tools for VS. I can do what I need to execute in the CLI, but I never remember the actions of FETCH or PUBLISH .

I'm a little new to GIT, but are these FETCH and PUBLISH part of the popular GIT part?

+6
source share
1 answer

Fetch , pull, and push are standard Git commands. Enter git help fetch , etc. From the Window console for details, but it comes down to the following:

  • selection : making changes without merging them
  • pull : make changes and merge them
  • click : submit your changes.

Posting is more interesting. Microsoft expects people to work in function branches, but merge them back into the master branch before clicking (i.e., share the final result with others, rather than cluttering up their repositories with short-lived branches). The Publish command allows you to select the branches that you want to provide to other users. See Microsoft Docs for more information.

+12
source

All Articles