mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Fix the checkout instructions
This commit is contained in:
parent
db128ac0f7
commit
fbebc276bb
@ -139,7 +139,7 @@ manage cherry picks prior to cutting the release.
|
|||||||
1. `export VER=x.y` (e.g. `0.20` for v0.20)
|
1. `export VER=x.y` (e.g. `0.20` for v0.20)
|
||||||
1. `export PATCH=Z` where `Z` is the patch level of `vX.Y.Z`
|
1. `export PATCH=Z` where `Z` is the patch level of `vX.Y.Z`
|
||||||
1. cd to the base of the repo
|
1. cd to the base of the repo
|
||||||
1. `git fetch upstream && git checkout -b upstream/release-${VER}`
|
1. `git fetch upstream && git checkout -b upstream/release-${VER} release-${VER}`
|
||||||
1. Make sure you don't have any files you care about littering your repo (they
|
1. Make sure you don't have any files you care about littering your repo (they
|
||||||
better be checked in or outside the repo, or the next step will delete them).
|
better be checked in or outside the repo, or the next step will delete them).
|
||||||
1. `make clean && git reset --hard HEAD && git clean -xdf`
|
1. `make clean && git reset --hard HEAD && git clean -xdf`
|
||||||
|
Loading…
Reference in New Issue
Block a user