#8 Checkout, auth. #16

Closed
kgorbunov wants to merge 104 commits from kgorbunov:dev into master
Showing only changes of commit cb209a6a7a - Show all commits

View File

@ -461,6 +461,7 @@ func checkout(w git.Worktree, ref plumbing.Reference) {
if err := w.Checkout(&git.CheckoutOptions{ if err := w.Checkout(&git.CheckoutOptions{
Branch: ref.Name(), Branch: ref.Name(),
Create: false,
Force: true, Force: true,
Keep: false, Keep: false,
}); err != nil { }); err != nil {