Pull code from Bitbucket

After you clone a repository or make any changes to an existing repository in Bitbucket, you'll need to pull the code from Bitbucket to your local repository so that you are working with the most up-to-date version.

Pull changes from a Git repository

  1. From the command line, enter cd <path_to_local_repo> so that you can enter commands for your repository.
  2. Enter git pull at the command line to get the most up-to-date version on your local repository.

Pull changes from a Mercurial repository

  1. From the command line, enter cd <path_to_local_repo> so that you can enter commands for your repository.
  2. Enter hg pull at the command line to get the most up-to-date version on your local repository.

Last modified on Jan 9, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.