未验证 提交 147f8a57 编写于 作者: A Arijus Šukys 提交者: GitHub

docs(CONTRIBUTING): remove section about commit squashing (#1924)

上级 8da2390a
......@@ -192,31 +192,6 @@ auto-generate release notes. We require all commit comments to conform. To that
end, commits have to be granular enough to be successfully described using this
method.
## Squashing commits
When submitting a pull request to QuestDB, we ask that you squash your commits
before we merge.
Some applications that interact with git repos will provide a user interface for
squashing. Refer to your application's document for more information.
If you're familiar with the terminal, you can do the following:
- Make sure your branch is up to date with the master branch.
- Run `git rebase -i master`.
- You should see a list of commits, each commit starting with the word "pick".
- Make sure the first commit says "pick" and change the rest from "pick" to
"squash". -- This will squash each commit into the previous commit, which will
continue until every commit is squashed into the first commit.
- Save and close the editor.
- It will give you the opportunity to change the commit message.
- Save and close the editor again.
- Then you have to force push the final, squashed commit:
`git push --force-with-lease origin`.
Squashing commits can be a tricky process but once you figure it out, it is
really helpful and keeps our repository concise and clean.
## FAQ
### Why does the server work, but the UI returns a `404` on [localhost:9000](http://localhost:9000)?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册