Skip to content

Commit

Permalink
Update options.go
Browse files Browse the repository at this point in the history
Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com>
  • Loading branch information
aymanbagabas and pjbgf committed Apr 17, 2023
1 parent 8df76a7 commit d9e1b9d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ type CloneOptions struct {
// Fetch only ReferenceName if true.
SingleBranch bool
// Mirror clones the repository as a mirror.
// This implies bare and fetches all refs.
// Compared to --bare, --mirror not only maps local branches of the source
// to local branches of the target, it maps all refs (including
// remote-tracking branches, notes etc.) and sets up a refspec
// configuration such that all these refs are overwritten by a git remote
// update in the target repository.
//
// Compared to a bare clone, mirror not only maps local branches of the
// source to local branches of the target, it maps all refs (including
// remote-tracking branches, notes etc.) and sets up a refspec configuration
// such that all these refs are overwritten by a git remote update in the
// target repository.
Mirror bool
// No checkout of HEAD after clone if true.
NoCheckout bool
Expand Down

0 comments on commit d9e1b9d

Please sign in to comment.