Reputation: 1141
I have two repo's which I'd like to keep separate. One for development, branches are features/fixes etc, the other is a production release, where its branches are for versions.
I'm still very new to version control, so I'm not even sure I'm doing it correctly.
What I'd like to do, is fork master from development, then that fork be a new branch in production with a version number, say 1.3 etc.
Is this possible, or is there a better way to do this?
Upvotes: 1
Views: 141
Reputation: 363817
The better way is to use one repo with branches for features and either branches or tags for versions. That makes it much easier to merge branches and move commits around, compared to having two repos. It also saves confusion on the part of the developers.
Upvotes: 2