リポジトリのクローン
リポジトリをクローンすると、Bitbucket リポジトリのコピーがローカル システムに作成されます。クローンすることで、リモート リポジトリとローカル リポジトリが接続されるため、変更内容のプッシュとプルを相互に行えるようになります。
Git リポジトリのクローン
git を使用して Bitbucket Cloud リポジトリのクローンを作成または操作する前に、次のいずれかを行う必要があります。
install the Git Credential Manager (included with Git for Windows for Windows users)
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.
リポジトリで [クローン] ボタンを選択します。
クローン コマンドをコピーします。
ターミナル ウィンドウで、リポジトリをクローンするローカル ディレクトリに移動します。
$ cd <path_to_directory>Bitbucket からコピーしたコマンドを貼り付けます。以下に例を示します。
$ git clone https://username@bitbucket.org/teamsinspace/documentation-tests.git
クローンが正常に完了すると、クローンしたリポジトリと同じ名前の新しいサブディレクトリがローカル ドライブに表示されます。
For further information on Repository Access Tokens, refer to our Using repository access tokens support documentation.
この内容はお役に立ちましたか?