mirror of
https://github.com/marktext/marktext.git
synced 2025-05-08 20:50:44 +08:00
15 lines
505 B
Markdown
15 lines
505 B
Markdown
# Prepare a hotfix
|
|
|
|
- Create a hotfix branch: `git checkout -b hotfix-vX.Y.Z`
|
|
- Make changes to the code and/or `cherry-pick` changes from another branch and commit changes.
|
|
- Test the hotfix and binaries.
|
|
- [Release](RELEASE.md) a new Mark Text version.
|
|
|
|
**How to cherry pick?**
|
|
|
|
You can pick commits from another branch and apply the commit to the current one.
|
|
|
|
- `git checkout hotfix-vX.Y.Z`
|
|
- `git cherry-pick <full commit hash>`
|
|
- Please resolve all conflicts and `git commit` the changes if needed.
|