cancel
Showing results for 
Search instead for 
Did you mean: 

git command to connect to BTP Destination pointing to Git repo

abdul_hakim
Active Contributor
0 Kudos

Hello experts,

How do we specify the Git destination created on BTP to corporate git repo in Git command?

For instance Destination name is "gitrepo1" which points to corporate git account for example http://github.e/8042

when we use git clone <git repo>   -- how we need to specify the destination name here in this command

 

Regards,

Abdul Hakim

Accepted Solutions (1)

Accepted Solutions (1)

Dinu
Contributor

You don't have to use the destination name. You can use the URL for the repository. This should be same as the url of the destination. 

abdul_hakim
Active Contributor
0 Kudos
thanks for the response. let us say we have repository for each application separately for instance repo1: https://gitrepo.e/app1 , repo2: https://gitrep.e/app2 so on..my understanding was we need to create only one destination for the root ie. https://gitrepo.e . if we do not need to use the destination name then the destination url for instance https://gitrepo.e will automatically resolve to https://gitrepo.e/app1 or https://gitrepo.e/app2 ??
Dinu
Contributor
0 Kudos
Correct. You need only one destination pointing to the server. The repo names can be appended to the server url.

Answers (0)