"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[685],{3369:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>m,frontMatter:()=>r,metadata:()=>a,toc:()=>p});var s=o(678),n=o(4738);const r={title:"sparo git-clone"},i=void 0,a={id:"pages/commands/sparo_git-clone",title:"sparo git-clone",description:"This is the mirrored subcommand for git clone. 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-clone.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_git-clone",permalink:"/sparo/pages/commands/sparo_git-clone",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/commands/sparo_git-clone.md",tags:[],version:"current",frontMatter:{title:"sparo git-clone"},sidebar:"docsSidebar",previous:{title:"sparo git-checkout",permalink:"/sparo/pages/commands/sparo_git-checkout"},next:{title:"sparo git-fetch",permalink:"/sparo/pages/commands/sparo_git-fetch"}},c={},p=[];function l(e){const t={a:"a",code:"code",p:"p",pre:"pre",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(t.p,{children:["This is the ",(0,s.jsx)(t.a,{href:"/sparo/pages/commands/overview",children:"mirrored subcommand"})," for ",(0,s.jsx)(t.code,{children:"git clone"}),". It has the same functionality as the corresponding Git subcommand, but supports Sparo's optional anonymous timing metrics collection."]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{children:"sparo git-clone [--template=]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o ] [-b ] [-u ] [--reference ]\n\t [--dissociate] [--separate-git-dir ]\n\t [--depth ] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs ] [--sparse] [--[no-]reject-shallow]\n\t [--filter= [--also-filter-submodules]] [--] \n\t []\n"})}),"\n",(0,s.jsxs)(t.p,{children:["See ",(0,s.jsx)(t.a,{href:"https://git-scm.com/docs/git-clone",children:"git clone"})," in the Git documentation for details."]})]})}function m(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},4738:(e,t,o)=>{o.d(t,{R:()=>i,x:()=>a});var s=o(6166);const n={},r=s.createContext(n);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]);