mirror of
https://github.com/tiktok/sparo.git
synced 2024-11-30 10:56:54 -05:00
1 line
No EOL
2.8 KiB
JavaScript
1 line
No EOL
2.8 KiB
JavaScript
"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=<template-directory>]\r\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\r\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\r\n\t [--dissociate] [--separate-git-dir <git-dir>]\r\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\r\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\r\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]\r\n\t [--filter=<filter> [--also-filter-submodules]] [--] <repository>\r\n\t [<directory>]\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)}}}]); |