Pull Changes from the Remote Branch

Use the Pull option to update your workspace with commits from the remote branch.

Pulling the most recent changes from the repository is especially important when you and other team members work on a visual application, to keep the source files in your workspace up-to-date with everybody's changes. It can help you avoid making changes to files that someone else is editing or has edited, which can result in a code conflict that you would then need to resolve.

To pull changes from a remote branch into your workspace:

  1. Click the Git menu in the header or the Options menu in the Git Panel.
  2. Select Pull.
  3. From the Remote Branch list in the Pull (Rebase) dialog box, choose the remote branch that has the content you want to pull to your workspace.
  4. If your working branch contains uncommitted changes, you have the option of committing those changes.
    • To commit your changes before pulling in content from the remote branch, enter a commit message (with the Commit changes before pulling check box selected).
    • To pull content without committing your changes, clear the Commit changes before pulling check box.
  5. If you chose to commit changes, click Commit All and Pull; otherwise, click Pull Changes.