SAP WEBIDE – GIT Configuration
Navigate to the url https://account.hanatrial.ondemand.com/
Login with your credential or Register
Click in the Neo Environment of Europe (ROT) Trail Infrastructure.
Click on the Services Tiles
Search for GIT and ENABLE it,(if it is not enable by clicking the enable button)
Navigate to GIT Service by clicking “Go to Service”
It will display the existing Repository
Create New Repository or clicking on the existing repository for the repository url.
The new GIT repository will be available in the list.
Clicking on the repository link, it will show the detail of the Repository URL and Repository Browser URL.
Now Open WebIDE by clicking on the WebIde services
Create any type of sample application in the webide.
Provide name of the application and view name and then finish the application creation.
The application is shown in the project explorer
Get the GIT Repository URL marked in Yellow
Link the created project with the Repository URL
Provide the Repository URL
Link the the master branch
Please notice the branch name on the side of Project name in the Workspace
Press the GIT PANE on the right hand side
Click Fetch
Link with the required branch
Follow the console detail (highlighted in Yellow)
Pull the request from the Repository URL
Log Output
Initial or First Commit to Local repository
Push the committed file from Local Repository to Remote Repository
Choose the Branch
Follow the Log output
The Status of the all the file of the project will be GREEN
Change/edit any line in any file, we have consider only one file change in the properties file.
The Edited file will be shown on the Git Pane list
Commit the changes with Commit description.
Choose the branch.
Follow the Log output
Now log in with different developer account in the sap cloud cockpit and then navigate to webide services.
Open the WebIde
Clone the remote repository to create a project.
Provide the url in the following manner.
https://pXXXXXXXXXX@git.hanatrial.ondemand.com/pXXXXXXXXXXtrial/scngittraining
You must have the password of the user who own the GIT repository.
Provide the Password of the GIT owner.
Click “Do it Later”
Pull the request
The project from the repository will be available.
Now make some change in the same properties file.
Viw the file changed in the Git Pane
Commit the file by providing some comment in the Commit Description.
Follow the Log output
Push the committed changes to remote server branch.
Provide the password of the GIT repository owner.
Follow the logout
Now all the developer connect to the same repository can pull the file changes and continue working on their local repository.
I have maintained my GIT email id and GIT user name under GIT settings. Also I don't any option to add an entry under GIT repository Configuration.
Any help?
Regards
Nishant