mirror of
https://github.com/tiktok/sparo.git
synced 2024-11-27 09:36:04 -05:00
1 line
No EOL
2.6 KiB
JavaScript
1 line
No EOL
2.6 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[775],{2452:(e,o,t)=>{t.r(o),t.d(o,{assets:()=>a,contentTitle:()=>i,default:()=>d,frontMatter:()=>s,metadata:()=>c,toc:()=>p});var n=t(678),r=t(4738);const s={title:"sparo clone"},i=void 0,c={id:"pages/commands/sparo_clone",title:"sparo clone",description:"",source:"@site/docs/pages/commands/sparo_clone.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_clone",permalink:"/sparo/pages/commands/sparo_clone",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/commands/sparo_clone.md",tags:[],version:"current",frontMatter:{title:"sparo clone"},sidebar:"docsSidebar",previous:{title:"sparo checkout",permalink:"/sparo/pages/commands/sparo_checkout"},next:{title:"sparo fetch",permalink:"/sparo/pages/commands/sparo_fetch"}},a={},p=[];function l(e){const o={code:"code",pre:"pre",...(0,r.R)(),...e.components};return(0,n.jsx)(o.pre,{children:(0,n.jsx)(o.code,{children:'sparo clone <repository> [directory]\r\n\r\nPositionals:\r\n repository The remote repository to clone from. [string] [required]\r\n directory The name of a new directory to clone into. The "humanish" part of\r\n the source repository is used if no directory is explicitly given\r\n (repo for /path/to/repo.gitService and foo for\r\n host.xz:foo/.gitService). Cloning into an existing directory is\r\n only allowed if the directory is empty [string]\r\n\r\nOptions:\r\n --help Show help [boolean]\r\n -s, --skip-git-config By default, Sparo automatically configures the\r\n recommended git settings for the repository you are\r\n about to clone. If you prefer not to include this step,\r\n you can use the input parameter --skip-git-config\r\n [boolean] [default: false]\r\n -b, --branch Specify a branch to clone [string]\n'})})}function d(e={}){const{wrapper:o}={...(0,r.R)(),...e.components};return o?(0,n.jsx)(o,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},4738:(e,o,t)=>{t.d(o,{R:()=>i,x:()=>c});var n=t(6166);const r={},s=n.createContext(r);function i(e){const o=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function c(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),n.createElement(s.Provider,{value:o},e.children)}}}]); |