-
Notifications
You must be signed in to change notification settings - Fork 8
Home
luikore edited this page Oct 6, 2011
·
8 revisions
- css 类和 id 全小写, 以
-
分隔 - 命名语言不限, 不能在两个字之内搞定的名字, 尽量写全称
- 删代码是美德
- 注释是坏味道
用 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
保证清晰的路线图, 必须 no fast forward, 例如
git merge --no-ff a-tiny-and-soft-branch