How do we link 2 different Workspaces with a single Git Repo in two different folders

patilsushant007
Tera Contributor

I've 2 workspaces created using App Engine Studio. I want to link both of them to a Git Repo into 2 different folders. Can we do that?
If Yes, How?

Your response is much appreciated!!!

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi

unfortunately you cannot as ServiceNow is managing the folder structure for a repo.

And to be honest, I don't understand your question. Maybe you first explain WHY you need two folders and then we can check what is the best solution. But asking for a solution without stating the underlying business requirement is not helpful.

Maik

patilsushant007
Tera Contributor

Yes, so basically these workspaces are two different parts of a single project and now to manage both of them I was going to link both of them in their respective folders but in same repository.

Due to the complexity of a workspace it is recommended to keep it in an individual scope separately. That way you can change and deploy a workspace without any impacts to other workspaces or project parts. ServiceNow is following the same approach.

And that also means you need individual repos for your workspaces- as each workspace represents an own application.

Maik

patilsushant007
Tera Contributor

Okay @Maik Skoddow , thank you for your insights.