"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[240],{86:(t,e,o)=>{o.r(e),o.d(e,{assets:()=>a,contentTitle:()=>r,default:()=>h,frontMatter:()=>n,metadata:()=>i,toc:()=>p});var s=o(678),c=o(4738);const n={title:"sparo git-checkout"},r=void 0,i={id:"pages/commands/sparo_git-checkout",title:"sparo git-checkout",description:"This is the mirrored subcommand for git checkout. It has the same functionality as the corresponding Git subcommand, but supports Sparo's optional anonymous timing metrics collection.",source:"@site/docs/pages/commands/sparo_git-checkout.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_git-checkout",permalink:"/sparo/pages/commands/sparo_git-checkout",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/commands/sparo_git-checkout.md",tags:[],version:"current",frontMatter:{title:"sparo git-checkout"},sidebar:"docsSidebar",previous:{title:"sparo pull",permalink:"/sparo/pages/commands/sparo_pull"},next:{title:"sparo git-clone",permalink:"/sparo/pages/commands/sparo_git-clone"}},a={},p=[];function m(t){const e={a:"a",code:"code",p:"p",pre:"pre",...(0,c.R)(),...t.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(e.p,{children:["This is the ",(0,s.jsx)(e.a,{href:"/sparo/pages/commands/overview",children:"mirrored subcommand"})," for ",(0,s.jsx)(e.code,{children:"git checkout"}),". It has the same functionality as the corresponding Git subcommand, but supports Sparo's optional anonymous timing metrics collection."]}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{children:"sparo git-checkout [-q] [-f] [-m] []\nsparo git-checkout [-q] [-f] [-m] --detach []\nsparo git-checkout [-q] [-f] [-m] [--detach] \nsparo git-checkout [-q] [-f] [-m] [[-b|-B|--orphan] ] []\nsparo git-checkout [-f|--ours|--theirs|-m|--conflict=