Shaomai888
Shaomai888

Reputation: 116

How do I clone a project to make a second project

My first project is a rails app written in Cloud9 and pushed to bit bucket and heroku in production.

How do I make an exact clone of this project so that I can rename it and begin working on a second project?

Upvotes: 0

Views: 296

Answers (1)

Cristiano Mendonça
Cristiano Mendonça

Reputation: 1282

As per this tutorial you should:

  1. Navigate to the repository in Bitbucket.

  2. Click the Clone button.

  3. Copy the clone command (either the SSH format or the HTTPS).

    If you are using the SSH protocol, ensure sure your public key is in Bitbucket and loaded on the local system to which you are cloning.

  4. Launch a terminal window.

  5. Change to the local directory where you want to clone your repository.

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

    $ git clone ssh://[email protected]:7999/PROJ/repo.git
    

Upvotes: 1

Related Questions