Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Bitbucket
Bitbucket Cloud

Documentation

Clone a repository

When you clone a repository, you create a copy of your Bitbucket repository on your local system. Cloning also connects the remote and local repositories so that you can start pushing and pulling changes between both places.

Clone a Git repository

You can use the terminal, SourceTree, or any other client you'd like to clone your Git repository. These instructions show you how to clone your repository using Git from the terminal.

  1. In the repository, select theClonebutton.

  2. Copy the clone command.

  3. From a terminal window, change into the local directory where you want to clone your repository.

    $ cd <path_to_directory> 

  4. Paste the command you copied from Bitbucket, for example:

    $ git clone https://username@bitbucket.org/teamsinspace/documentation-tests.git 

If the clone was successful, a new sub-directory appears on your local drive with the same name as the repository that you cloned.

For further information on Repository Access Tokens, refer to ourUsing repository access tokens support documentation.

 

Was this helpful?

Still need help?

The Atlassian Community is here for you.

[8]ページ先頭

©2009-2025 Movatter.jp