-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document update PR from Fork (#1606)
* Document update PR from Fork
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# How to Maintain LightlySSL | ||
|
||
This document is intended for maintainers of Lightly**SSL**. If you would like to | ||
contribute, please refer to the [CONTRIBUTING.md](./CONTRIBUTING.md) document. | ||
|
||
## Update PR from a Fork | ||
|
||
Sometimes it is necessary to update a PR from a forked Lightly**SSL** repository, | ||
for example to add some finishing touches (format, cleanup, docs), to fix some difficult | ||
issue, or to finish an incomplete feature. | ||
|
||
Let's assume there is a PR from `<username>:<branch-name>`. To update the PR, follow | ||
these steps: | ||
|
||
``` | ||
git remote add <username> https://github.com/<username>/lightly.git | ||
git fetch <username> | ||
git checkout -b <branch-name> <username>/<branch-name> | ||
``` | ||
|
||
Now you can make changes and push them to the PR branch with `git push`. |