Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSwitch to Git branching model #250
Comments
|
https://github.com/nvie/gitflow command line tools |
|
Update docs with #275 . Done. |
|
#275 说明的内容看上去并没有解决这个issue。 如果转换成了新的git branching model,那么 master branch 里应该只包含 release commits。但是我在 Network 页面里看到的是 master branch 里有很多各种各样的 commits。 我前天成功地把一个只有一个主干的开源项目 Sextant 变成了双主干。我发现其中有不少坑,需要注意的。我把我的做法详细地描述在这篇wiki里了。供参考。 |
|
重写已经被广泛fork的版本库的历史是一件非常有风险的事情。因为本质上只能重新中央版本库的历史,而其他fork的commits便会成为没有主线的commits。所以,感觉似乎不应该删除旧的master分支。 如果有新的release的话,就在master分支之后再加新的commit吧 |
|
另外,paddle的release不只是tag,还有同时发布的二进制。所以,如果把master先删掉,所有的二进制是否还会存在。这个也是个问题。 |
|
binary应该是根据git commit生成的吧。如果是这样,那么因为删除branch并不会删除commits,所以所有的binaries还是有效的。
|
|
这个工作和fork没有关系。已经产生的forks是被用在未来的开发里的,所以不受“篡改历史”的影响。未来新的fork会包含“篡改过的历史”。 |
|
@wangkuiyi Done. There just three commits in master network now(init, V0.8.0b0, V0.8.0b1) https://github.com/baidu/Paddle/network Although I use a slightly different way to do it. I just checkout an orphan branch, create a new root commit with some empty file (.gitignore, README.md), and merge each tags to this branch. Also rewrite the commit time to make github network more pretty. |
|
This is awesome! Thanks! @reyoung Although it seems more reasonable to make the master branch starting from the initial commit other than an orphan commit, e.g., https://github.com/k8sp/sextant/network, but your fix fits what the auto rollout/rollback mechanism wants, thus I like it as much as the other way. |
…-lookup-table add doc for distribute lookup table


http://nvie.com/posts/a-successful-git-branching-model/