I'm very new to Git, so any excessively detailed explanation is appreciated : )
Say, I have a game application that is released in two countries. Actually I have two code repositories for this application, which have the same architecture but differs more or less on implementation level. Now we sometimes would want the two repositories to exchange code, such as moving the code of a feature to another repository, and I have two questions:
- What is the best practice for grouping all the commits of a feature (we manage tasks on Atlassian Jira and let's say we can always label all the tasks of a feature there correctly)? I'm thinking of labeling commits and filtering them by Jira issue id, but how exactly?
- Once I get the list of all the commits I need, how do I apply them to the other repository, if there are many of them and they are discrete commits.
Thanks!