Github: What is the best way to maintain a stable project?

Is there a preferred way to create projects or branches in github, so there is always a stable branch for loading? How did you guys create your projects?

Here is an example: right now I have a β€œstable” branch (master), and then an β€œedge” branch (for development only). When I am ready to release a new version for the public, I will merge my edge branch into a stable one. Is this a recommended approach? Thanks!

+4
source share
1 answer

Sounds like a subtle (and normal) approach. What you can do is to have several development branches, for each function or error correction you are working on. This allows you to switch between branches depending on what you want to work for today. But if you are a lone developer in your project, this may just be redundant.

Just the last update of my answer, I found this article and it looks like a very good approach to version control using git: http://nvie.com/posts/a-successful-git-branching-model/ And by the way, this is very close to how we use version control at work.

However, this is probably most relevant for projects with several people.

+6
source

All Articles