{"__v":35,"_id":"54d03369f530ca0d0005395d","category":{"__v":15,"_id":"54cfba0ebba1a023008741b8","pages":["54d0331dc795960d009f4213","54d0333f94f7980d0081b83e","54d03369f530ca0d0005395d","54d0338894f7980d0081b840","54d033a8c795960d009f4216","54d033df94f7980d0081b842","54d0340094f7980d0081b844","54d034d0f530ca0d00053960","5531432b29603d2300011386","553529553ad5c90d00d0609c","5537df420899730d0081368a","553a6c030074c80d00621bd6","5571f7fe8956493700aae248","55dc0a267fa0290d00558e6c","56696a5155e4b32100935db5"],"project":"54cf411f9d09bb0d00a17a1c","version":"54cf411f9d09bb0d00a17a1f","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-02-02T17:55:26.712Z","from_sync":false,"order":3,"slug":"workspaces","title":"Workspaces"},"parentDoc":null,"project":"54cf411f9d09bb0d00a17a1c","user":"54cfa8c8a8a4fd0d00b7fd1c","version":{"__v":14,"_id":"54cf411f9d09bb0d00a17a1f","project":"54cf411f9d09bb0d00a17a1c","createdAt":"2015-02-02T09:19:27.656Z","releaseDate":"2015-02-02T09:19:27.656Z","categories":["54cf41209d09bb0d00a17a20","54cfb99bbba1a023008741af","54cfb9a65ff7e617002bbd7f","54cfba03bba1a023008741b6","54cfba0ebba1a023008741b8","54cfba19bba1a023008741b9","54cfba29bba1a023008741bb","54cfba345ff7e617002bbd87","54cfba3ebba1a023008741bc","54cfba473995cf0d0006f6f0","54e371b18ef7552300409bf2","54e37aa5e887c50d005ef629","555a4e9b147f91190092d137","56b0e91802f4bc0d006ce254"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":["55697fc16051c82b0078c295","56324610bddb091700ad5e94"],"next":{"pages":[],"description":""},"createdAt":"2015-02-03T02:33:13.263Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":6,"body":"GitHub and BitBucket are code hosting services that help to manage your public and private git repositories. For more information about GitHub and how to use it, visit <https://github.com>. For more information on Bitbucket, visit <https://bitbucket.org>.\n\n## Your Repositories\n\n1. [Connected your GitHub or BitBucket account](doc:connected-services) to your Cloud9 account\n2. Go to your [repos page](https://c9.io/account/repos) (or get to it by going to [your dashboard](http://c9.io/dashboard.html) and clicking on Repositories)\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/t1O5yQc1S3eekxwsIWbJ_repositoriesButton.png\",\n        \"repositoriesButton.png\",\n        \"2650\",\n        \"658\",\n        \"#849db4\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n3. Clone a repo!\n\nOn your repositories page, you'll see a page that lists all your repositories for your GitHub account. Feel free to click on Clone for any of them then continue with the [workspace creation](doc:create-a-workspace) process!\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/MNyIXnlDRanm5yenVG6W_repos.png\",\n        \"repos.png\",\n        \"3814\",\n        \"862\",\n        \"#84aad0\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nOnce you have cloned a repository, you'll be able to perform normal Git operations like push, pull, branch, etc. from the [terminal](doc:terminal) or you may try the _**experimental**_ Git UI by enabling it from Settings > Experimental > Changes Panel.\n\n## Other Repos\n\nIf you'd like to make a workspace from another repository, you can easily do so by following the guide for [creating a workspace](doc:create-a-workspace) and pasting the git URL into the optional repository field.\n\n## Can't Create Project\n\nIf you're having any trouble creating a workspace from a repository, you may try [creating a workspace](doc:create-a-workspace) the standard way and just inputting the git URL during that process.\n\nYou may also try creating a new workspace and cloning from the command line once you get into your new workspace.\n\n## Collaborating on Separate Git Branches\n\nSee the bottom of [Share a Workspace](doc:share-a-workspace).","excerpt":"Creating a workspace from a GitHub or BitBucket repository is super fast with Cloud9","slug":"setting-up-github-workspace","type":"basic","title":"GitHub and BitBucket Workspaces"}

GitHub and BitBucket Workspaces

Creating a workspace from a GitHub or BitBucket repository is super fast with Cloud9

GitHub and BitBucket are code hosting services that help to manage your public and private git repositories. For more information about GitHub and how to use it, visit <https://github.com>. For more information on Bitbucket, visit <https://bitbucket.org>. ## Your Repositories 1. [Connected your GitHub or BitBucket account](doc:connected-services) to your Cloud9 account 2. Go to your [repos page](https://c9.io/account/repos) (or get to it by going to [your dashboard](http://c9.io/dashboard.html) and clicking on Repositories) [block:image] { "images": [ { "image": [ "https://files.readme.io/t1O5yQc1S3eekxwsIWbJ_repositoriesButton.png", "repositoriesButton.png", "2650", "658", "#849db4", "" ] } ] } [/block] 3. Clone a repo! On your repositories page, you'll see a page that lists all your repositories for your GitHub account. Feel free to click on Clone for any of them then continue with the [workspace creation](doc:create-a-workspace) process! [block:image] { "images": [ { "image": [ "https://files.readme.io/MNyIXnlDRanm5yenVG6W_repos.png", "repos.png", "3814", "862", "#84aad0", "" ] } ] } [/block] Once you have cloned a repository, you'll be able to perform normal Git operations like push, pull, branch, etc. from the [terminal](doc:terminal) or you may try the _**experimental**_ Git UI by enabling it from Settings > Experimental > Changes Panel. ## Other Repos If you'd like to make a workspace from another repository, you can easily do so by following the guide for [creating a workspace](doc:create-a-workspace) and pasting the git URL into the optional repository field. ## Can't Create Project If you're having any trouble creating a workspace from a repository, you may try [creating a workspace](doc:create-a-workspace) the standard way and just inputting the git URL during that process. You may also try creating a new workspace and cloning from the command line once you get into your new workspace. ## Collaborating on Separate Git Branches See the bottom of [Share a Workspace](doc:share-a-workspace).