Skip to content
luikore edited this page Oct 6, 2011 · 8 revisions

如何参与

  • 打补丁: fork, 修改代码然后创建 pull request, 阿婆主们会尽快围观
  • 成为阿婆主: 发消息或者邮件给阿婆主之一, 验明正身即可
  • 搭建开发环境
  • 翻翻 wiki

代码道德

  • css 类和 id 全小写, 以 - 分隔
  • 命名语言不限, 不能在两个字之内搞定的名字, 尽量写全称
  • 删代码是美德
  • 注释是坏味道

git pull 使用法

用 rebase 尽量减少多余的 merge commit

    git pull --rebase

pull 特定分支例

    git pull --rebase origin a-black-and-thick-branch

rebase 冲突了, 又不喜欢一步一步的 git rebase 怎么办?

    git rebase --abort
    git reset --hard HEAD
    git pull
    git status

git merge 使用法

保证清晰的路线图, 必须 no fast forward, 例如

    git merge --no-ff a-tiny-and-soft-branch
Clone this wiki locally