Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/workspaces/setting_up_bitbucket_workspace.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Setting Up a Bitbucket Workspace

Bitbucket is a code-hosting services that offers both git and mercurial support. Projects can be listed as private or public, absolutely free. For more information on Bitbucket, visit <https://bitbucket.org>.
Bitbucket is a code-hosting services that offers both git and mercurial support. Projects can be listed as private or public, absolutely free. For more information on Bitbucket, visit <https://bitbucket.org>.

We have integrated Bitbucket into the IDE to enable you to easily work on your public and private repositories. The following article explains how you can activate your Bitbucket account in Cloud9 IDE.

Expand Down Expand Up @@ -40,7 +40,7 @@ There are several ways to manage Bitbucket projects in Cloud9 IDE:

{:postCreate}

There are a couple of things you should do first, before you can use all of git's power. First, you'll want to add a remote to the project. From the Cloud9 IDE command line, you can execute the following commands:
There are a couple of things you should do first, before you can use all of git's power. First, you'll want to add a remote to the project. From the Cloud9 IDE command line, you can execute the following commands:

```bash
git remote add [remote name] [remote url]
Expand All @@ -60,7 +60,7 @@ Finally, create a commit that you can push to your remote:
git commit -m 'added new files'
```

Don't forget to push this commit out to Bitbucket:
Don't forget to push this commit out to Bitbucket:

```bash
git push [remote name] master
Expand Down Expand Up @@ -88,4 +88,7 @@ When you provide Cloud9 IDE with your Bitbucket credentials, it provides a list

![Bitbucket Pending Projects](./resources/images/bitbucketPendingWorkspaces.png)<250, 426>

From this list, clicking on a project and selecting **CLONE TO EDIT** brings the repo into the IDE, just as if you cloned it from a URL.
From this list, clicking on a project and selecting **CLONE TO EDIT** brings the repo into the IDE, just as if you cloned it from a URL.

Note:
In addition to the previously mentioned methods, you may also create a new workspace and perform a Git clone from the terminal in that new workspace.