About Blank Projects using git

Asked

Viewed 44 times

0

We are looking to take advantage of a design model for our future projects. As if it were a Blank project.

We were trying to forkar the projects, but it didn’t work out very well. Which solution do you use?

PS.: We’re using Gitlab internally.

  • 1

    What was the problem with Fork?

  • Type, we have a base project that we want to use it in next projects. But we can’t do several photoshoots of this same project. We had thought of something like having two origins, each project. Being one pointed to the base project, and the other to the current project.

  • 1

    What you can do is clone the project and upload it to another Object by changing its remote. I think it’s the simplest solution to your problem. Along with this create an upstream of the original project, for when there are updates that are pulled from the "root project"...

  • 1

    @We had talked about this, too, but we thought you might have a choice. Anyway, I’ll talk to the guys here and wait for someone else to give some hint.

1 answer

1

Branching model

What is known as a branching model is essential. It has no connection with Gitlab, Github or other. Regardless of the service you use, there is not a single proposal of branching model, or the best proposal, because it depends on several variables relevant to the project in question.

This does not mean that you will not have some initial guidance. And it is not best to repeat here what others suggest, such as Microsoft https://docs.microsoft.com/en-us/azure/devops/repos/git/git-branching-guidance?view=azure-devops, or third party opinion https://medium.com/@grazibonizi/the-best-branching-model-to-work-with-git-4008a8098e6a.

If I didn’t get it wrong, you can start with Microsoft’s simplified suggestion, provided above, and extend it if you see need.

  • Very interesting your comment. Today, where I work, we create a repository with our model project. Every time, when we start a new project, we have to change the source and point to the new repository. I wondered if there was another option

  • By your speech I suppose the corresponding effort is minimal. If that is the case, and it is attending to you, perhaps there is no reason for change.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.