package git import ( "fmt" "github.com/docopt/docopt-go" ) func main() { usage := `usage: git checkout [options] git checkout [options] -- ... options: -q, --quiet suppress progress reporting -b create and checkout a new branch -B create/reset and checkout a branch -l create reflog for new branch -t, --track set upstream info for new branch --orphan new unparented branch -2, --ours checkout our version for unmerged files -3, --theirs checkout their version for unmerged files -f, --force force checkout (throw away local modifications) -m, --merge perform a 3-way merge with the new branch --conflict