How to work with more than one version of the same application at the same time in git?

Davi Bogo

I have an application that is going to be used for a lot of clients, currently we have two versions of it, one is the core version, the other will be used by one of my client. For now we have two branches (master, client_1) and they're similar, but different.

My problem is that if I correct something just for client_1, it's easy, I just have to commit in that branch. But if I correct something for both, I don't now how to "merge" it, because if I merge my git tries to merge everything, not just my correction.

Now, imagine that my application expands to 15 clients, each one has something different, small changes, but it's different. How do I control this kind of problems?

eftshift0

I think what you are looking for is "cherry-pick". That small change, you commit it on the main branch... then on the client branch, you cherry-pick the revision.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Is it possible for a JVM to run more than one program at the same time?

Make the select statement wait for more than one channel at the same time

Save file for more than one user at the same time

How to remove more than one elements from an array from different indexes at same time in JavaScript?

regx or pattern - How to prevent entering same character more than one time?

How to check if more than one value is null at the same time SQL Server

Allow more than one accordion to open at the same time

How to make a bot responding once if an user sends more than one photo at the same time?

How to open a file more than once at the same time

(How) Can I run more than one Spring Boot application on the same server and port?

How can I create more than one array at the same time using a generator?

How to replace more than one word in JavaScript string at a same time?

Allow more than one python threads to use resource at the same time

Using RAND() keyword in more than one query at the same time

How to print more than one div at the same time in same pdf?

How to scan more than one location at the same time with ClamAV

Run more than one application in the same time

can the same snmp community be associated with more than one snmp version?

Insert records into a table from more than one users at same time

i am Trying more Flags to prevent the Activity to be opened more than one time at the Same time

Can I use OpenGL in more than one language at the same time?

Run more than one lein task at the same time

Can I accidentally push more than one Git feature branch at the same time?

Is it possible for more than one task in Task Scheduler to run a console application (.exe file) at the same time?

How to call the same function more than one time using parameters in javascript?

How do I connect kqlmagic to more than one Log Analytics workspace at the same time?

C program fails to execute more than one statement at the same time

Find Guide who work on more than one tour on the same day

Groovy Mock the same Stream call more than one time