Git Basics in SAP Web IDE
We’ve created a new video that show the basics for beginners on setting up Git for your projects, using some of the latest features. You can now easily create a local Git repository for your projects without deploying to SAP HANA Cloud Platform, and you can connect that local repository to any remote repository.
The video shows a simple scenario for getting started, as well as showing how 2 developers might work together.
In the future, I hope to create Git videos for additional scenarios, like cherry-picking and merging.
Please let me know if you have any questions about this video, and if its clear how to connect to any remote Git repository, not just in SAP HANA Cloud Platform, or how to use the Git pane, or anything else you can think of.
P.S.: Also check out some of the great Git blogs created by Lidor Tal in the last year, like How to Use the SAP Web IDE Git Client or Working with Multiple Branches with the Git Client.
What happens if you need to create a new project using the templates? In that case, you would presumably not start by first creating a new html5 app in the app repository, right? You would instead start by creating a local app in your workspace using the Template. I guess this is how most of us would prefer to work?
Yes that's correct.
You can create an application from a template, create a Git repository on HCP (See Git Repositories section in the cockpit) and then init the local repository and connect it to the remote git.
I've written a blog explaining a bit about this flow: SAP Web IDE - Deployment to SAP HANA Cloud Platform Explained
Regards,
Michal.
I understand that it's not totally relevant, but I can't seem to get help in other places. I have an issue with Web IDE & Git integration in SAP HANA Express 2.0 (not HCP), but maybe you can help me.
I'm following OpenSAP developer course and when in Web IDE, I go to File > Git > Clone repository and input https://github.com/SAP/com.sap.openSAP.hana5.example
I get an error:
It look like issue with the certificate.
How did you upload the certificate?
maybe in mistake did you upload wrong certificate ?
I have the same issue while trying to connect to local GIT repository.
Please advice how to fix it in detail.
Thank you!
Hi,
if it is possible to expose SAP HCP git repositories and files details to another application ? we have any API available to do it ?
Regards,
Sam