cancel
Showing results for 
Search instead for 
Did you mean: 

Git Repositories

Amandeep
Participant
0 Kudos

Hi Experts,

Need to clarify few questions i have regarding Git on HCP.

With our Corporate account on the HCP, i see a lot of Git repositories being created.

  1. Would this assumption be correct, that any development done on WebIDE is pushed to Git Service automatically ? If not, i am wondering how did those get repositories get created ? If yes, how do i avoid it, as it pushed all the test apps into git too.
  2. When i click on the "Repository Browser" i get 403 even when i am Admin on the sub account. Do i need to clone the repo on my local PC and see the history(checkins, commits, tags etc....) associated with files or there is some way on the cloud to view it(just like Github)?

Thanks

A

Accepted Solutions (1)

Accepted Solutions (1)

Hi Amandeep ,

Here is answer to your questions -

1- No , development done on webide never gets pushed automatically on Git. First time when you deploy your app from webide to HCP(now SCP) , git repository is created with project name which you can later use to sync your code with Git. As long as your test app is deployed on HCP(now SCP), it won't allow you to delete respective Git repository created automatically but once you delete your test app from HCP(now SCP), it ask whether to delete mapped git repository as well or not.

2- Ideally if you have default administrator role in HCP(now SCP), you should have access to repository browser of Git but since you are getting 403 , you can navigate to platform roles in HCP(now SCP) cockpit and check if the role being assigned to you have sufficient access for Git Or it may be the case if you are using any third party identity provider. But yes you don't local cloning and all to check the commit history.

Hope I could answer your doubts.

Thanks,

Manu

Answers (1)

Answers (1)

amy_king
Active Contributor
0 Kudos

Hi,

Could you please share what was the solution for the following?
"When i click on the "Repository Browser" i get 403 even when i am Admin on the sub account."

Cheers,
Amy