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