3
My question is this::
I have a repository called "site-layout" with only the master branch, where I develop a layout with bootstrap v4.
I still have another repository called "site-old" also only with the master branch, where is the code of another layout but created with bootstrap v3.
What I would like to do is "import" (I don’t know if that would be the correct term) this "site-old" into the "site-layout" as a new branch that I want to call "bootstrapv3" (and then delete the "site-old", and then, if possible, "mirror" this branch into the "site-layout master".
EDIT: If it gets too complicated (it’s even better), it could just be "mirror" the content of the "old site" right into the master of the "site-layout", as long as it doesn’t interfere with the Fork that I’ve created based on the content of the current master.
Finally, to illustrate, the structure of both repositories is like this:
site-layout (ou site-old)
|
+--- master
And how I’d like to organize:
site-layout
|
+---master ("transferir" o conteúdo daqui pra bootstrapv4, e depois passar pra cá o conteúdo da bootstrapv3 (ou site-old))
+--- bootstrapv3 (com o conteudo vindo da antiga site-old)
+--- bootstrapv4 (com o conteúdo vindo da master do site-layout)
Grateful from now on!
Do you have any intention of merging these two branches at some point?
– Vinicius Zaramella
No. The only thing I could intend to do is to put the content of each of the two branches in the master (I don’t really know if I can do this), like, when I was developing pro bootstrap v3 I would use it as master, and possibly later bootstrap v4. If that’s not possible, quiet.
– Vico
I have the impression that you did not understand the function of the master branch, it is the main one of the repository, not the "working branch". Because it makes no sense to transfer one branch after the other to the master, which you will not do merge. From the scenario described it is better that your repository does not have a master, you can configure which branch will be the main one directly from github.
– Pedro Sanção