mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
Merge pull request #6894 from roberthbailey/push-url
Add documentation to help new contributors with write access from accidentally pushing upstream.
This commit is contained in:
commit
f26e813299
@ -256,6 +256,13 @@ git fetch upstream
|
|||||||
git rebase upstream/master
|
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
|
## Regenerating the CLI documentation
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user