#8 Checkout, auth. #16
@ -461,6 +461,7 @@ func checkout(w git.Worktree, ref plumbing.Reference) {
|
||||
|
||||
if err := w.Checkout(&git.CheckoutOptions{
|
||||
Branch: ref.Name(),
|
||||
Create: false,
|
||||
Force: true,
|
||||
Keep: false,
|
||||
}); err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user