mirror of https://github.com/k3s-io/k3s
Merge pull request #6894 from roberthbailey/push-url
Add documentation to help new contributors with write access from accidentally pushing upstream.pull/6/head
commit
f26e813299
|
@ -256,6 +256,13 @@ git fetch upstream
|
|||
git rebase upstream/master
|
||||
```
|
||||
|
||||
If you have write access to the main repository, you should modify your git configuration so that
|
||||
you can't accidentally push to upstream:
|
||||
|
||||
```
|
||||
git remote set-url --push upstream no_push
|
||||
```
|
||||
|
||||
## Regenerating the CLI documentation
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue