Pull (Git)

From RAD Studio
Jump to: navigation, search

Go Up to Git Integration in the IDE


View > Project Manager | right-click a project or file under Git | Git > Pull

Pull is a source-control Git operation that refreshes the working files from the repository, retrieving all the changes to the files that were committed.

To update a file from the Git repository, right-click on a file that is versioned in the Project Manager. Pull brings up to date that file and all the other files associated with it. To avoid a conflict between versions, always do an update on your local files before you start making changes.

The Pull command typically gives you two options that control which files will be updated:

  • From Repository Root, which will crawl up your directory tree, looking for the last directory that is managed by the same repository as the project file and do an update from that location, updating all files in that directory and below.
  • From Project Directory, which will do an update from the same directory as the project and update all files in that directory and below.

A list of update actions is shown in the message view under the Git tab.

Note: If you are using the last revision of the files under the version control, you will get the following message: Already up-to-date.

See Also