tiktok-sparo/zh-cn/assets/js/f55c8489.32c04c2f.js
2024-08-29 19:59:14 +00:00

1 line
No EOL
3 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[597],{6736:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>r,metadata:()=>a,toc:()=>p});var o=n(678),s=n(4738);const r={title:"sparo git-clone"},c=void 0,a={id:"pages/commands/sparo_git-clone",title:"sparo git-clone",description:"\u8fd9\u662f git clone \u7684\u955c\u50cf\u5b50\u547d\u4ee4\u3002\u5b83\u5177\u6709\u4e0e\u76f8\u5e94 Git \u5b50\u547d\u4ee4\u76f8\u540c\u7684\u529f\u80fd\uff0c\u4f46\u652f\u6301 Sparo \u53ef\u9009\u7684\u533f\u540d\u8ba1\u65f6\u6570\u636e\u6536\u96c6\u3002",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/commands/sparo_git-clone.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_git-clone",permalink:"/sparo/zh-cn/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/zh-cn/pages/commands/sparo_git-checkout"},next:{title:"sparo git-fetch",permalink:"/sparo/zh-cn/pages/commands/sparo_git-fetch"}},i={},p=[];function l(e){const t={a:"a",code:"code",p:"p",pre:"pre",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.p,{children:["\u8fd9\u662f ",(0,o.jsx)(t.code,{children:"git clone"})," \u7684",(0,o.jsx)(t.a,{href:"/sparo/zh-cn/pages/commands/overview",children:"\u955c\u50cf\u5b50\u547d\u4ee4"}),"\u3002\u5b83\u5177\u6709\u4e0e\u76f8\u5e94 Git \u5b50\u547d\u4ee4\u76f8\u540c\u7684\u529f\u80fd\uff0c\u4f46\u652f\u6301 Sparo \u53ef\u9009\u7684\u533f\u540d\u8ba1\u65f6\u6570\u636e\u6536\u96c6\u3002"]}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{children:"sparo git-clone [--template=<template-directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git-dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]\n\t [--filter=<filter> [--also-filter-submodules]] [--] <repository>\n\t [<directory>]\n"})}),"\n",(0,o.jsxs)(t.p,{children:["\u8be6\u60c5\u8bf7\u53c2\u9605 Git \u6587\u6863\u4e2d\u7684 ",(0,o.jsx)(t.a,{href:"https://git-scm.com/docs/git-clone",children:"git clone"}),"\u3002"]})]})}function d(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},4738:(e,t,n)=>{n.d(t,{R:()=>c,x:()=>a});var o=n(6166);const s={},r=o.createContext(s);function c(e){const t=o.useContext(r);return o.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(s):e.components||s:c(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]);