View definition

(*Repository).CheckoutHead

Defined in github.com/libgit2/git2go/checkout.go

Description

Updates files in the index and the working tree to match the content of the commit pointed at by HEAD. opts may be nil.