mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-16 09:30:56 +00:00
revert untouched files
This commit is contained in:
@@ -258,8 +258,7 @@ func (gr *Runner) AssureOnMainBranch() error {
|
||||
// CheckoutMainBranch does that.
|
||||
func (gr *Runner) CheckoutMainBranch() error {
|
||||
gr.comment("checking out main branch")
|
||||
fullBranchSpec := fmt.Sprintf("%s/%s", remoteOrigin, mainBranch)
|
||||
return gr.runNoOut(noHarmDone, "checkout", fullBranchSpec)
|
||||
return gr.runNoOut(noHarmDone, "checkout", mainBranch)
|
||||
}
|
||||
|
||||
// FetchRemote does that.
|
||||
|
||||
Reference in New Issue
Block a user