Source control in Bluemix DevOps Services
Last updated: 4 March 2016
When you create a project, you can choose one of three source control systems: a GitHub repository (repo), a Git repo that is hosted on IBM® Bluemix®, or a Jazz source control management (SCM) repo that is hosted on Bluemix.
If you already have a Bluemix app that isn't linked to a source control system, you can create a Git repo that is hosted on Bluemix and link the repo to your app.
You can store your source code on this popular Git hosting service and use IBM® Bluemix® DevOps Services to develop and deploy your app to Bluemix. To learn more, see the GitHub website.
If you want to store your code in a GitHub repo, you must have a GitHub account and give Bluemix access to that account. When you create a project, you can either create a GitHub repo or link to a repo that you already use. For more details, see these topics:
You can create a public or private Git repo that is hosted on Bluemix. You control access to the repo by adding members to your DevOps Services project.
If you want to store your source code in a hosted Git repo and you already have a local Git repo, create your DevOps Services project and then force push your local repo to the new hosted repo.
For more information about using Git with DevOps Services projects, see these topics:
Creating a Git repo for a Bluemix app
If you already have a Bluemix app that isn't linked to a source control system, you can create a Git repo and link it to the app. On the app's Overview page, click Add Git Repo and Pipeline, or in the Bluemix Classic Experience, click ADD GIT.
Note: The new repo is not automatically populated with the running app's code.
After the repo is created, you can check your source code into it locally by using your Git client of choice, or from the Web IDE.
Jazz SCM works well with Eclipse and IBM Rational Team Concert™. For information about using a Jazz SCM repo that is hosted on Bluemix, see Setting up local Eclipse clients to work with Jazz SCM.
© Copyright IBM Corporation 2013, 2016.