mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:24:36 +07:00
docs: submitting patches
This commit is contained in:
parent
686fea5764
commit
583e4e4717
@ -6,6 +6,23 @@
|
||||
|
||||
You can [create a new GitHub issue](https://github.com/khuedoan/homelab/issues/new/choose) with the bug report template.
|
||||
|
||||
### Merge request
|
||||
### Submitting patches
|
||||
|
||||
TODO
|
||||
Because you may have a lot of changes in your fork, you can't create a pull request directly from your `master` branch.
|
||||
Instead, create a branch from the upstream repository and commit your changes there:
|
||||
|
||||
```sh
|
||||
git remote add upstream https://github.com/khuedoan/homelab
|
||||
git fetch upstream
|
||||
git checkout upstream/master
|
||||
git checkout -b contrib-fix-something
|
||||
|
||||
# Make your changes here
|
||||
#
|
||||
# nvim README.md
|
||||
# git cherry-pick a1b2c3
|
||||
#
|
||||
# commit, push, etc. as usual
|
||||
```
|
||||
|
||||
Then you can send the patch using [GitHub pull request](https://github.com/khuedoan/homelab/pulls) or `git send-email` to <mail@khuedoan.com>.
|
||||
|
Loading…
Reference in New Issue
Block a user