Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

IBM Bluemix : Cloning source code from Git

In the previous post,  I explained about how to start with IBM Bluemix and creating a Java web app on bluemix using Liberty for Java and also connecting it with Watson Conversation. Now to start with creating a chatbot we need to clone the source code from Git for programming locally. We can program our chat bot directly on Bluemix itself but I prefer doing it locally first and then pushing it to Bluemix.

Cloning source code from git

To develop the code locally you may clone the source code from the Git repo and use your favourite IDE to code. I have been using Eclipse for most of my development so I’ll share screenshot for importing in eclipse.
Go to the toolchain, and select the Git tile, it will redirect to Git repository of your app.


Open Eclipse and select import option under the file menu. And from the import wizard select Git menu and then click on Projects from Git.IBM_Bluemix_Git

Then Select Clone URI from the Select Repository Source wizard.
Now, in Source Git Repository wizard, paste the URL copied from the IBM Git repository. Enter the credentials for your IBM login and click next.
Cloning_GitThen on successful connection, select master to create a copy in your local. After that, you’ll be able to code and commit changes directly from the local.

Troubleshooting Git connection errors:

There might be chances that you’ll be facing some issues while cloning the Git. Out of which the common problem is getting a pop up asking username and password again and again. If you get this error the try the following steps to resolve:

1. Set up Git SSH key  pair:

If you are cloning it for the first time, then download and install Git from . After the follow the tutorial given in below link to generate SSH key and update in your profile settings.

2.  Add a sslVerify entry to eclipse:

If setting up Git SSH key pair didn’t help you then, restart your eclipse and go to preference and search for Git. On configuration submenu of Git select System Settings tab. Click on Add Entry button and add http.sslVerify  as key and false as value. Click ok and restart the eclipse and try again.

3. Try other protocols

If the above steps didn’t solve the problem then there might be some issue with the protocol used. By default, Git shows http protocol link to copy and if http is not working then try the SSH protocol to copy. If then also it’s not working comment below and I’ll try to help you out.

In the next post, I’ll explain how to teach the Watson conversation to reply and then connecting it with our Java app.

This post first appeared on, please read the originial post: here

Share the post

IBM Bluemix : Cloning source code from Git


Subscribe to

Get updates delivered right to your inbox!

Thank you for your subscription