This commit is contained in:
chengcyber 2024-08-29 19:59:14 +00:00
parent 1c45c31f56
commit 294357638d
126 changed files with 1089 additions and 120 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[464],{2293:(e,s,t)=>{"use strict";t.d(s,{A:()=>c});var b=t(3977);t(3014)(b),t(5860)(b),t(133)(b);const c=b},6156:()=>{}}]);

View file

@ -1 +0,0 @@
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[464],{2293:(e,s,t)=>{"use strict";t.d(s,{A:()=>c});var b=t(6322);const c=b},6156:()=>{}}]);

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,30 @@
/*!
* Lunr languages, `Chinese` language
* https://github.com/MihaiValentin/lunr-languages
*
* Copyright 2019, Felix Lian (repairearth)
* http://www.mozilla.org/MPL/
*/
/*!
* Snowball JavaScript Library v0.3
* http://code.google.com/p/urim/
* http://snowball.tartarus.org/
*
* Copyright 2010, Oleg Mazko
* http://www.mozilla.org/MPL/
*/
/*!
* based on
* Snowball zhvaScript Library v0.3
* http://code.google.com/p/urim/
* http://snowball.tartarus.org/
*
* Copyright 2010, Oleg Mazko
* http://www.mozilla.org/MPL/
*/
/*!
* lunr.Builder
* Copyright (C) 2020 Oliver Nightingale

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
(()=>{"use strict";var e,t,r,a,f,o={},c={};function d(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={exports:{}};return o[e].call(r.exports,r,r.exports,d),r.exports}d.m=o,e=[],d.O=(t,r,a,f)=>{if(!r){var o=1/0;for(i=0;i<e.length;i++){r=e[i][0],a=e[i][1],f=e[i][2];for(var c=!0,n=0;n<r.length;n++)(!1&f||o>=f)&&Object.keys(d.O).every((e=>d.O[e](r[n])))?r.splice(n--,1):(c=!1,f<o&&(o=f));if(c){e.splice(i--,1);var b=a();void 0!==b&&(t=b)}}return t}f=f||0;for(var i=e.length;i>0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[r,a,f]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var f=Object.create(null);d.r(f);var o={};t=t||[null,r({}),r([]),r(r)];for(var c=2&a&&e;"object"==typeof c&&!~t.indexOf(c);c=r(c))Object.getOwnPropertyNames(c).forEach((t=>o[t]=()=>e[t]));return o.default=()=>e,d.d(f,o),f},d.d=(e,t)=>{for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((t,r)=>(d.f[r](e,t),t)),[])),d.u=e=>"assets/js/"+({48:"a94703ab",98:"a7bd4aaa",184:"51fcb882",240:"482d7390",270:"8684af33",322:"ad64fc7d",373:"8146683f",401:"17896441",415:"08745ef1",421:"45779d82",446:"a3701128",545:"1fca393f",581:"935f2afb",647:"5e95c892",655:"31f9c0ea",685:"357ca5b8",686:"d07d9dcb",710:"b50bbc34",712:"83a50b44",728:"ae652408",739:"696cfce0",741:"b8fe1f28",742:"c377a04b",774:"238e4522",775:"f0ae3290",786:"1509b81c",798:"5c48616d",801:"dc7f3de0",818:"3e55010f",827:"3549fc66",831:"b9eb3dd7"}[e]||e)+"."+{48:"7093611a",98:"b4e9c5fc",184:"cc9fdd23",206:"aace8056",240:"821c5dc5",270:"e5daf779",322:"15acf568",373:"d959aec6",401:"72bbc85d",415:"1a898416",421:"f6cd2677",446:"14c886a6",448:"d24ae91b",464:"ad495b3c",545:"861e8d99",581:"c443e867",628:"9ac02b32",647:"f7378074",655:"6bdd85f5",685:"474499af",686:"abf7eac1",710:"7aa239d0",712:"e29b0de3",728:"b69b2817",739:"60f1e60b",741:"15331905",742:"61be5360",774:"19704b89",775:"b122ce33",786:"9cd9aece",798:"423fdc60",801:"baeb5e9c",818:"f4d83937",827:"dae7a217",831:"5f33f8d7"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},f="website:",d.l=(e,t,r,o)=>{if(a[e])a[e].push(t);else{var c,n;if(void 0!==r)for(var b=document.getElementsByTagName("script"),i=0;i<b.length;i++){var u=b[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==f+r){c=u;break}}c||(n=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,d.nc&&c.setAttribute("nonce",d.nc),c.setAttribute("data-webpack",f+r),c.src=e),a[e]=[t];var l=(t,r)=>{c.onerror=c.onload=null,clearTimeout(s);var f=a[e];if(delete a[e],c.parentNode&&c.parentNode.removeChild(c),f&&f.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=l.bind(null,c.onerror),c.onload=l.bind(null,c.onload),n&&document.head.appendChild(c)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/sparo/",d.gca=function(e){return e={17896441:"401",a94703ab:"48",a7bd4aaa:"98","51fcb882":"184","482d7390":"240","8684af33":"270",ad64fc7d:"322","8146683f":"373","08745ef1":"415","45779d82":"421",a3701128:"446","1fca393f":"545","935f2afb":"581","5e95c892":"647","31f9c0ea":"655","357ca5b8":"685",d07d9dcb:"686",b50bbc34:"710","83a50b44":"712",ae652408:"728","696cfce0":"739",b8fe1f28:"741",c377a04b:"742","238e4522":"774",f0ae3290:"775","1509b81c":"786","5c48616d":"798",dc7f3de0:"801","3e55010f":"818","3549fc66":"827",b9eb3dd7:"831"}[e]||e,d.p+d.u(e)},(()=>{var e={354:0,869:0};d.f.j=(t,r)=>{var a=d.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var f=new Promise(((r,f)=>a=e[t]=[r,f]));r.push(a[2]=f);var o=d.p+d.u(t),c=new Error;d.l(o,(r=>{if(d.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var f=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+f+": "+o+")",c.name="ChunkLoadError",c.type=f,c.request=o,a[1](c)}}),"chunk-"+t,t)}},d.O.j=t=>0===e[t];var t=(t,r)=>{var a,f,o=r[0],c=r[1],n=r[2],b=0;if(o.some((t=>0!==e[t]))){for(a in c)d.o(c,a)&&(d.m[a]=c[a]);if(n)var i=n(d)}for(t&&t(r);b<o.length;b++)f=o[b],d.o(e,f)&&e[f]&&e[f][0](),e[f]=0;return d.O(i)},r=self.webpackChunkwebsite=self.webpackChunkwebsite||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();
(()=>{"use strict";var e,t,r,a,f,o={},c={};function d(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={exports:{}};return o[e].call(r.exports,r,r.exports,d),r.exports}d.m=o,e=[],d.O=(t,r,a,f)=>{if(!r){var o=1/0;for(i=0;i<e.length;i++){r=e[i][0],a=e[i][1],f=e[i][2];for(var c=!0,n=0;n<r.length;n++)(!1&f||o>=f)&&Object.keys(d.O).every((e=>d.O[e](r[n])))?r.splice(n--,1):(c=!1,f<o&&(o=f));if(c){e.splice(i--,1);var b=a();void 0!==b&&(t=b)}}return t}f=f||0;for(var i=e.length;i>0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[r,a,f]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var f=Object.create(null);d.r(f);var o={};t=t||[null,r({}),r([]),r(r)];for(var c=2&a&&e;"object"==typeof c&&!~t.indexOf(c);c=r(c))Object.getOwnPropertyNames(c).forEach((t=>o[t]=()=>e[t]));return o.default=()=>e,d.d(f,o),f},d.d=(e,t)=>{for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((t,r)=>(d.f[r](e,t),t)),[])),d.u=e=>"assets/js/"+({48:"a94703ab",98:"a7bd4aaa",184:"51fcb882",240:"482d7390",270:"8684af33",322:"ad64fc7d",373:"8146683f",401:"17896441",415:"08745ef1",421:"45779d82",446:"a3701128",545:"1fca393f",581:"935f2afb",647:"5e95c892",655:"31f9c0ea",685:"357ca5b8",686:"d07d9dcb",710:"b50bbc34",712:"83a50b44",728:"ae652408",739:"696cfce0",741:"b8fe1f28",742:"c377a04b",774:"238e4522",775:"f0ae3290",786:"1509b81c",798:"5c48616d",801:"dc7f3de0",818:"3e55010f",827:"3549fc66",831:"b9eb3dd7"}[e]||e)+"."+{48:"7093611a",98:"b4e9c5fc",184:"cc9fdd23",240:"821c5dc5",270:"e5daf779",322:"15acf568",373:"d959aec6",401:"72bbc85d",415:"1a898416",421:"8da6a6cf",446:"14c886a6",448:"d24ae91b",464:"1c7d534f",545:"861e8d99",581:"888e88d3",628:"9ac02b32",647:"f7378074",655:"6bdd85f5",685:"474499af",686:"4af38d4d",703:"36e1ba64",710:"7aa239d0",712:"e29b0de3",728:"b69b2817",739:"60f1e60b",741:"15331905",742:"2d2ca50a",774:"19704b89",775:"b122ce33",786:"9cd9aece",798:"423fdc60",801:"baeb5e9c",818:"f4d83937",827:"dae7a217",831:"5f33f8d7"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},f="website:",d.l=(e,t,r,o)=>{if(a[e])a[e].push(t);else{var c,n;if(void 0!==r)for(var b=document.getElementsByTagName("script"),i=0;i<b.length;i++){var u=b[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==f+r){c=u;break}}c||(n=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,d.nc&&c.setAttribute("nonce",d.nc),c.setAttribute("data-webpack",f+r),c.src=e),a[e]=[t];var l=(t,r)=>{c.onerror=c.onload=null,clearTimeout(s);var f=a[e];if(delete a[e],c.parentNode&&c.parentNode.removeChild(c),f&&f.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=l.bind(null,c.onerror),c.onload=l.bind(null,c.onload),n&&document.head.appendChild(c)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/sparo/",d.gca=function(e){return e={17896441:"401",a94703ab:"48",a7bd4aaa:"98","51fcb882":"184","482d7390":"240","8684af33":"270",ad64fc7d:"322","8146683f":"373","08745ef1":"415","45779d82":"421",a3701128:"446","1fca393f":"545","935f2afb":"581","5e95c892":"647","31f9c0ea":"655","357ca5b8":"685",d07d9dcb:"686",b50bbc34:"710","83a50b44":"712",ae652408:"728","696cfce0":"739",b8fe1f28:"741",c377a04b:"742","238e4522":"774",f0ae3290:"775","1509b81c":"786","5c48616d":"798",dc7f3de0:"801","3e55010f":"818","3549fc66":"827",b9eb3dd7:"831"}[e]||e,d.p+d.u(e)},(()=>{var e={354:0,869:0};d.f.j=(t,r)=>{var a=d.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var f=new Promise(((r,f)=>a=e[t]=[r,f]));r.push(a[2]=f);var o=d.p+d.u(t),c=new Error;d.l(o,(r=>{if(d.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var f=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+f+": "+o+")",c.name="ChunkLoadError",c.type=f,c.request=o,a[1](c)}}),"chunk-"+t,t)}},d.O.j=t=>0===e[t];var t=(t,r)=>{var a,f,o=r[0],c=r[1],n=r[2],b=0;if(o.some((t=>0!==e[t]))){for(a in c)d.o(c,a)&&(d.m[a]=c[a]);if(n)var i=n(d)}for(t&&t(r);b<o.length;b++)f=o[b],d.o(e,f)&&e[f]&&e[f][0](),e[f]=0;return d.O(i)},r=self.webpackChunkwebsite=self.webpackChunkwebsite||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

0
zh-cn/.nojekyll Normal file
View file

13
zh-cn/404.html Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[951],{2837:(t,e,c)=>{c.r(e),c.d(e,{assets:()=>i,contentTitle:()=>r,default:()=>u,frontMatter:()=>n,metadata:()=>a,toc:()=>p});var o=c(678),s=c(4738);const n={title:"sparo git-checkout"},r=void 0,a={id:"pages/commands/sparo_git-checkout",title:"sparo git-checkout",description:"\u8fd9\u662f git checkout \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-checkout.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_git-checkout",permalink:"/sparo/zh-cn/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/zh-cn/pages/commands/sparo_pull"},next:{title:"sparo git-clone",permalink:"/sparo/zh-cn/pages/commands/sparo_git-clone"}},i={},p=[];function h(t){const e={a:"a",code:"code",p:"p",pre:"pre",...(0,s.R)(),...t.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(e.p,{children:["\u8fd9\u662f ",(0,o.jsx)(e.code,{children:"git checkout"})," \u7684",(0,o.jsx)(e.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)(e.pre,{children:(0,o.jsx)(e.code,{children:"sparo git-checkout [-q] [-f] [-m] [<branch>]\nsparo git-checkout [-q] [-f] [-m] --detach [<branch>]\nsparo git-checkout [-q] [-f] [-m] [--detach] <commit>\nsparo git-checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new-branch>] [<start-point>]\nsparo git-checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <pathspec>\u2026\u200b\nsparo git-checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] --pathspec-from-file=<file> [--pathspec-file-nul]\nsparo git-checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>\u2026\u200b]\n"})}),"\n",(0,o.jsxs)(e.p,{children:["\u8be6\u60c5\u8bf7\u53c2\u9605 Git \u6587\u6863\u4e2d\u7684 ",(0,o.jsx)(e.a,{href:"https://git-scm.com/docs/git-checkout",children:"git checkout"}),"\u3002"]})]})}function u(t={}){const{wrapper:e}={...(0,s.R)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(h,{...t})}):h(t)}},4738:(t,e,c)=>{c.d(e,{R:()=>r,x:()=>a});var o=c(6166);const s={},n=o.createContext(s);function r(t){const e=o.useContext(n);return o.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function a(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(s):t.components||s:r(t.components),o.createElement(n.Provider,{value:e},t.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[415],{1966:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[680],{9540:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>r,metadata:()=>a,toc:()=>p});var t=o(678),s=o(4738);const r={title:"sparo auto-config"},c=void 0,a={id:"pages/commands/sparo_auto-config",title:"sparo auto-config",description:"\u901a\u5e38\uff0c\u60a8\u4e0d\u9700\u8981\u624b\u52a8\u8c03\u7528 sparo auto-config\u3002\u987e\u540d\u601d\u4e49\uff0c\u5b83\u7531 sparo clone \u81ea\u52a8\u5e94\u7528\u3002\u8be5\u547d\u4ee4\u63d0\u4f9b\u7528\u4e8e\u5728\u7528\u6237\u53ef\u80fd\u624b\u52a8\u66f4\u6539\u4e86 Sparo \u914d\u7f6e\u7684\u60c5\u51b5\u4e0b\u91cd\u65b0\u5e94\u7528\u914d\u7f6e\u3002\u5f53\u8c03\u67e5\u95ee\u9898\u65f6\uff0c\u8fd9\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u7b2c\u4e00\u6b65\u3002",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/commands/sparo_auto-config.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_auto-config",permalink:"/sparo/zh-cn/pages/commands/sparo_auto-config",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/commands/sparo_auto-config.md",tags:[],version:"current",frontMatter:{title:"sparo auto-config"},sidebar:"docsSidebar",previous:{title:"\u6982\u8ff0",permalink:"/sparo/zh-cn/pages/commands/overview"},next:{title:"sparo checkout",permalink:"/sparo/zh-cn/pages/commands/sparo_checkout"}},i={},p=[{value:"\u81ea\u52a8\u914d\u7f6e\u8bbe\u7f6e",id:"\u81ea\u52a8\u914d\u7f6e\u8bbe\u7f6e",level:2}];function u(e){const n={a:"a",code:"code",h2:"h2",p:"p",pre:"pre",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{children:"sparo auto-config\n\n\u81ea\u52a8\u8bbe\u7f6e\u63a8\u8350\u7684 Git \u914d\u7f6e\n\n\u9009\u9879:\n -h, --help \u663e\u793a\u5e2e\u52a9 [boolean]\n --overwrite [boolean] [default: false]\n"})}),"\n",(0,t.jsxs)(n.p,{children:["\u901a\u5e38\uff0c\u60a8\u4e0d\u9700\u8981\u624b\u52a8\u8c03\u7528 ",(0,t.jsx)(n.code,{children:"sparo auto-config"}),"\u3002\u987e\u540d\u601d\u4e49\uff0c\u5b83\u7531 ",(0,t.jsx)(n.code,{children:"sparo clone"})," \u81ea\u52a8\u5e94\u7528\u3002\u8be5\u547d\u4ee4\u63d0\u4f9b\u7528\u4e8e\u5728\u7528\u6237\u53ef\u80fd\u624b\u52a8\u66f4\u6539\u4e86 Sparo \u914d\u7f6e\u7684\u60c5\u51b5\u4e0b\u91cd\u65b0\u5e94\u7528\u914d\u7f6e\u3002\u5f53\u8c03\u67e5\u95ee\u9898\u65f6\uff0c\u8fd9\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u7b2c\u4e00\u6b65\u3002"]}),"\n",(0,t.jsx)(n.h2,{id:"\u81ea\u52a8\u914d\u7f6e\u8bbe\u7f6e",children:"\u81ea\u52a8\u914d\u7f6e\u8bbe\u7f6e"}),"\n",(0,t.jsxs)(n.p,{children:["\u5b9e\u73b0\u53ef\u4ee5\u5728 ",(0,t.jsx)(n.a,{href:"https://github.com/tiktok/sparo/blob/main/apps/sparo-lib/src/services/GitService.ts",children:"GitService.ts"})," \u4e2d\u627e\u5230\u3002\u4ee5\u4e0b\u662f\u5f53\u524d\u5e94\u7528\u8bbe\u7f6e\u7684\u6458\u8981\uff1a"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{children:"pull.rebase=true\nfetch.prune=true\nfetch.showForcedUpdates=false\nfeature.manyFiles=true\ncore.fsmonitor=true\ncore.fscache=true\ncore.untrackedcache=true\noh-my-zsh.hide-status=1\noh-my-zsh.hide-dirty=1\nlfs.allowincompletepush=true\nlfs.concurrenttransfers=32\npush.autoSetupRemote=true\n"})})]})}function d(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(u,{...e})}):u(e)}},4738:(e,n,o)=>{o.d(n,{R:()=>c,x:()=>a});var t=o(6166);const s={},r=t.createContext(s);function c(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[831],{9469:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>u,frontMatter:()=>r,metadata:()=>i,toc:()=>p});var t=o(678),c=o(4738);const r={title:"sparo-ci clone"},s=void 0,i={id:"pages/ci_commands/sparo-ci_clone",title:"sparo-ci clone",description:"",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/ci_commands/sparo-ci_clone.md",sourceDirName:"pages/ci_commands",slug:"/pages/ci_commands/sparo-ci_clone",permalink:"/sparo/zh-cn/pages/ci_commands/sparo-ci_clone",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/ci_commands/sparo-ci_clone.md",tags:[],version:"current",frontMatter:{title:"sparo-ci clone"},sidebar:"docsSidebar",previous:{title:"sparo-ci checkout",permalink:"/sparo/zh-cn/pages/ci_commands/sparo-ci_checkout"},next:{title:"\u83b7\u53d6\u5e2e\u52a9",permalink:"/sparo/zh-cn/pages/support/help"}},a={},p=[];function d(e){const n={code:"code",pre:"pre",...(0,c.R)(),...e.components};return(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{children:"sparo-ci clone <repository> [directory]\n\n\u4f4d\u7f6e\u53c2\u6570:\n repository \u8981\u514b\u9686\u7684\u8fdc\u7a0b\u4ed3\u5e93\u5730\u5740\u3002 [string] [required]\n directory \u8981\u514b\u9686\u5230\u7684\u65b0\u76ee\u5f55\u540d\u79f0\u3002\u5982\u679c\u672a\u663e\u5f0f\u6307\u5b9a\u76ee\u5f55\uff0c\n \u5c06\u4f7f\u7528\u6e90\u4ed3\u5e93\u7684\u201chumanish\u201d\u90e8\u5206\n \uff08\u5bf9\u4e8e /path/to/repo.gitService \u4f7f\u7528 repo\uff0c\u5bf9\u4e8e\n host.xz:foo/.gitService \u4f7f\u7528 foo\uff09\u3002\n \u4ec5\u5f53\u76ee\u5f55\u4e3a\u7a7a\u65f6\u624d\u5141\u8bb8\u514b\u9686\u5230\u73b0\u6709\u76ee\u5f55\u3002 [string]\n\n\u9009\u9879:\n --help \u663e\u793a\u5e2e\u52a9 [boolean]\n"})})}function u(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},4738:(e,n,o)=>{o.d(n,{R:()=>s,x:()=>i});var t=o(6166);const c={},r=t.createContext(c);function s(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:s(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[632],{9698:(n,e,o)=>{o.r(e),o.d(e,{assets:()=>p,contentTitle:()=>s,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var t=o(678),r=o(4738);const a={title:"sparo checkout"},s=void 0,c={id:"pages/commands/sparo_checkout",title:"sparo checkout",description:"",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/commands/sparo_checkout.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_checkout",permalink:"/sparo/zh-cn/pages/commands/sparo_checkout",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/commands/sparo_checkout.md",tags:[],version:"current",frontMatter:{title:"sparo checkout"},sidebar:"docsSidebar",previous:{title:"sparo auto-config",permalink:"/sparo/zh-cn/pages/commands/sparo_auto-config"},next:{title:"sparo clone",permalink:"/sparo/zh-cn/pages/commands/sparo_clone"}},p={},i=[];function u(n){const e={code:"code",pre:"pre",...(0,r.R)(),...n.components};return(0,t.jsx)(e.pre,{children:(0,t.jsx)(e.code,{children:'sparo checkout [branch] [start-point]\n\n\u66f4\u65b0\u5de5\u4f5c\u6811\u4e2d\u7684\u6587\u4ef6\uff0c\u4ee5\u5339\u914d\u7d22\u5f15\u6216\u6307\u5b9a\u6811\u4e2d\u7684\u7248\u672c\u3002\u5982\u679c\u672a\u63d0\u4f9b\u8def\u5f84\u89c4\u8303\uff0c\ngit checkout \u8fd8\u5c06\u66f4\u65b0 HEAD\uff0c\u5c06\u6307\u5b9a\u5206\u652f\u8bbe\u7f6e\u4e3a\u5f53\u524d\u5206\u652f\u3002\n\n\u4f4d\u7f6e\u53c2\u6570\uff1a\n branch [string]\n start-point [string]\n\n\u9009\u9879\uff1a\n --help \u663e\u793a\u5e2e\u52a9 [boolean]\n -b \u521b\u5efa\u4e00\u4e2a\u65b0\u5206\u652f\uff0c\u5e76\u5728 <start-point> \u5904\u542f\u52a8 [boolean]\n -B \u521b\u5efa\u4e00\u4e2a\u65b0\u5206\u652f\uff0c\u5e76\u5728 <start-point> \u5904\u542f\u52a8\uff1b\u5982\u679c\u5df2\u5b58\u5728\uff0c\n \u5c06\u5176\u91cd\u7f6e\u5230 <start-point> [boolean]\n --profile \u6839\u636e\u6307\u5b9a\u7684\u914d\u7f6e\u6587\u4ef6\u68c0\u51fa\u9879\u76ee\u3002\u8fd9\u4e9b\u914d\u7f6e\u6587\u4ef6\u5c06\u88ab\u8bb0\u5f55\uff0c\n \u5e76\u88ab\u5176\u4ed6 sparo \u547d\u4ee4\u91cd\u7528\u3002\u4f8b\u5982\uff0c\u5728\u8fd0\u884c "sparo checkout <branch>"\n \u540e\uff0c\u4f1a\u57fa\u4e8e\u91cd\u7528\u7684\u914d\u7f6e\u6587\u4ef6\u8fdb\u884c\u7a00\u758f\u68c0\u51fa [array] [default: []]\n --add-profile \u4f7f\u7528\u8bb0\u5f55\u7684\u914d\u7f6e\u6587\u4ef6\u548c\u6307\u5b9a\u7684\u9644\u52a0\u914d\u7f6e\u6587\u4ef6\u68c0\u51fa\u9879\u76ee\u3002\n \u5c06\u6307\u5b9a\u7684\u9644\u52a0\u914d\u7f6e\u6587\u4ef6\u6dfb\u52a0\u5230 sparo \u8bb0\u5f55\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d [array] [default: []]\n --no-profile \u68c0\u51fa\u9879\u76ee\u65f6\u4e0d\u4f7f\u7528\u4efb\u4f55\u914d\u7f6e\u6587\u4ef6\uff0c\u5e76\u6e05\u9664\u6240\u6709\u8bb0\u5f55\u7684\u914d\u7f6e\u6587\u4ef6 [boolean]\n --to \u68c0\u51fa\u9879\u76ee\u76f4\u5230\uff08\u5e76\u5305\u62ec\uff09\u9879\u76ee <to..>\uff0c\u53ef\u4ee5\u4e0e\u9009\u9879 --profile/--add-profile\n \u4e00\u8d77\u4f7f\u7528\uff0c\u4ee5\u5f62\u6210\u4e24\u4e2a\u9009\u9879\u7684\u5e76\u96c6\u9009\u62e9\u3002\u6b64\u5904\u7684\u9879\u76ee\u9009\u62e9\u5668\u5c06\n \u6c38\u8fdc\u4e0d\u4f1a\u53d6\u4ee3\u914d\u7f6e\u6587\u4ef6\u5df2\u68c0\u51fa\u7684\u5185\u5bb9 [array] [default: []]\n --from \u68c0\u51fa\u9879\u76ee\u4ece\uff08\u5305\u62ec\u5176\u81ea\u8eab\u53ca\u5176\u6240\u6709\u4f9d\u8d56\u9879\uff09\u9879\u76ee <from..> \u4e0b\u6e38\u5f00\u59cb\uff0c\n \u53ef\u4ee5\u4e0e\u9009\u9879 --profile/--add-profile \u4e00\u8d77\u4f7f\u7528\uff0c\n \u4ee5\u5f62\u6210\u4e24\u4e2a\u9009\u9879\u7684\u5e76\u96c6\u9009\u62e9\u3002\u6b64\u5904\u7684\u9879\u76ee\u9009\u62e9\u5668\u5c06\n \u6c38\u8fdc\u4e0d\u4f1a\u53d6\u4ee3\u914d\u7f6e\u6587\u4ef6\u5df2\u68c0\u51fa\u7684\u5185\u5bb9 [array] [default: []]\n'})})}function d(n={}){const{wrapper:e}={...(0,r.R)(),...n.components};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(u,{...n})}):u(n)}},4738:(n,e,o)=>{o.d(e,{R:()=>s,x:()=>c});var t=o(6166);const r={},a=t.createContext(r);function s(n){const e=t.useContext(a);return t.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function c(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(r):n.components||r:s(n.components),t.createElement(a.Provider,{value:e},n.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[448],{6448:(e,s,b)=>{b.r(s)}}]);

View file

@ -0,0 +1 @@
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[464],{2293:(e,s,t)=>{"use strict";t.d(s,{A:()=>c});var b=t(3977);t(3014)(b),t(5860)(b),t(133)(b);const c=b},6156:()=>{}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[149],{9676:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>a,contentTitle:()=>p,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var s=n(678),r=n(4738);const o={title:"\u66f4\u65b0\u5185\u5bb9"},p=void 0,i={id:"pages/support/news",title:"\u66f4\u65b0\u5185\u5bb9",description:"\u8981\u4e86\u89e3\u6700\u65b0\u7248\u672c\u7684\u66f4\u6539\uff0c\u8bf7\u67e5\u9605\u53d8\u66f4\u65e5\u5fd7\uff1a",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/support/news.md",sourceDirName:"pages/support",slug:"/pages/support/news",permalink:"/sparo/zh-cn/pages/support/news",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/support/news.md",tags:[],version:"current",frontMatter:{title:"\u66f4\u65b0\u5185\u5bb9"},sidebar:"docsSidebar",previous:{title:"\u83b7\u53d6\u5e2e\u52a9",permalink:"/sparo/zh-cn/pages/support/help"},next:{title:"\u8d21\u732e\u6307\u5357",permalink:"/sparo/zh-cn/pages/support/contributing"}},a={},c=[];function u(t){const e={a:"a",p:"p",...(0,r.R)(),...t.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(e.p,{children:"\u8981\u4e86\u89e3\u6700\u65b0\u7248\u672c\u7684\u66f4\u6539\uff0c\u8bf7\u67e5\u9605\u53d8\u66f4\u65e5\u5fd7\uff1a"}),"\n",(0,s.jsx)(e.p,{children:(0,s.jsx)(e.a,{href:"https://github.com/tiktok/sparo/blob/main/apps/sparo/CHANGELOG.md",children:"CHANGELOG.md"})})]})}function d(t={}){const{wrapper:e}={...(0,r.R)(),...t.components};return e?(0,s.jsx)(e,{...t,children:(0,s.jsx)(u,{...t})}):u(t)}},4738:(t,e,n)=>{n.d(e,{R:()=>p,x:()=>i});var s=n(6166);const r={},o=s.createContext(r);function p(t){const e=s.useContext(o);return s.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function i(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:p(t.components),s.createElement(o.Provider,{value:e},t.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[382],{7190:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>p,toc:()=>c});var n=s(678),o=s(4738);const r={title:"sparo git-pull"},i=void 0,p={id:"pages/commands/sparo_git-pull",title:"sparo git-pull",description:"\u8fd9\u662f git pull \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-pull.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_git-pull",permalink:"/sparo/zh-cn/pages/commands/sparo_git-pull",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/commands/sparo_git-pull.md",tags:[],version:"current",frontMatter:{title:"sparo git-pull"},sidebar:"docsSidebar",previous:{title:"sparo git-fetch",permalink:"/sparo/zh-cn/pages/commands/sparo_git-fetch"},next:{title:"sparo init-profile",permalink:"/sparo/zh-cn/pages/commands/sparo_init-profile"}},a={},c=[];function l(e){const t={a:"a",code:"code",p:"p",pre:"pre",...(0,o.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(t.p,{children:["\u8fd9\u662f ",(0,n.jsx)(t.code,{children:"git pull"})," \u7684",(0,n.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,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{children:"sparo git-pull [<options>] [<repository> [<refspec>\u2026\u200b]]\n"})}),"\n",(0,n.jsxs)(t.p,{children:["\u8be6\u60c5\u8bf7\u53c2\u9605 Git \u6587\u6863\u4e2d\u7684 ",(0,n.jsx)(t.a,{href:"https://git-scm.com/docs/git-pull",children:"git pull"}),"\u3002"]})]})}function u(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},4738:(e,t,s)=>{s.d(t,{R:()=>i,x:()=>p});var n=s(6166);const o={},r=n.createContext(o);function i(e){const t=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function p(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[850],{4171:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var t=s(678),r=s(4738);const o={title:"\u8d21\u732e\u6307\u5357"},i=void 0,c={id:"pages/support/contributing",title:"\u8d21\u732e\u6307\u5357",description:"\u5728\u8fd9\u4e2a monorepo \u4e2d\u6784\u5efa\u9879\u76ee\uff1a",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/support/contributing.md",sourceDirName:"pages/support",slug:"/pages/support/contributing",permalink:"/sparo/zh-cn/pages/support/contributing",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/support/contributing.md",tags:[],version:"current",frontMatter:{title:"\u8d21\u732e\u6307\u5357"},sidebar:"docsSidebar",previous:{title:"\u66f4\u65b0\u5185\u5bb9",permalink:"/sparo/zh-cn/pages/support/news"}},l={},p=[];function a(e){const n={a:"a",code:"code",li:"li",ol:"ol",p:"p",pre:"pre",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.p,{children:"\u5728\u8fd9\u4e2a monorepo \u4e2d\u6784\u5efa\u9879\u76ee\uff1a"}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:["\u5b89\u88c5 ",(0,t.jsx)(n.a,{href:"https://rushjs.io/",children:"RushJS"})," \u5de5\u5177\uff1a"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-shell",children:"npm install -g @microsoft/rush\n"})}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"\u514b\u9686\u4ed3\u5e93\uff1a"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-shell",children:"git clone https://github.com/tiktok/sparo.git\n"})}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"\u5b89\u88c5\u4f9d\u8d56\u9879"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-shell",children:"cd sparo\nrush install\n"})}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"\u6784\u5efa\u6240\u6709\u9879\u76ee"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-shell",children:"rush build\n"})}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["\u5982\u4f55\u8c03\u7528\u60a8\u672c\u5730\u6784\u5efa\u7684 ",(0,t.jsx)(n.code,{children:"sparo"})," \u547d\u4ee4\uff1a"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-shell",children:"cd apps/sparo\nnode lib/start.js\n"})})]})}function d(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},4738:(e,n,s)=>{s.d(n,{R:()=>i,x:()=>c});var t=s(6166);const r={},o=t.createContext(r);function i(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[990],{6444:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>m,frontMatter:()=>r,metadata:()=>a,toc:()=>i});var o=n(678),s=n(4738);const r={title:"sparo fetch"},c=void 0,a={id:"pages/commands/sparo_fetch",title:"sparo fetch",description:"",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/commands/sparo_fetch.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_fetch",permalink:"/sparo/zh-cn/pages/commands/sparo_fetch",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/commands/sparo_fetch.md",tags:[],version:"current",frontMatter:{title:"sparo fetch"},sidebar:"docsSidebar",previous:{title:"sparo clone",permalink:"/sparo/zh-cn/pages/commands/sparo_clone"},next:{title:"sparo pull",permalink:"/sparo/zh-cn/pages/commands/sparo_pull"}},p={},i=[];function d(e){const t={code:"code",pre:"pre",...(0,s.R)(),...e.components};return(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{children:"sparo fetch [remote] [branch]\n\n\u5c06\u8fdc\u7a0b\u5206\u652f\u83b7\u53d6\u5230\u672c\u5730\n\n\u4f4d\u7f6e\u53c2\u6570:\n remote [string]\n branch [string]\n\n\u9009\u9879:\n -h, --help \u663e\u793a\u5e2e\u52a9 [boolean]\n"})})}function m(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(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)}}}]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[647],{224:(e,s,r)=>{r.r(s),r.d(s,{default:()=>l});r(6166);var t=r(27),u=r(6963),a=r(4992),c=r(1345),n=r(4142),i=r(678);function l(e){return(0,i.jsx)(u.e3,{className:(0,t.A)(a.G.wrapper.docsPages),children:(0,i.jsx)(n.A,{children:(0,c.v)(e.route.routes)})})}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[628],{2:(e,t,i)=>{i.d(t,{A:()=>a});i(6166);var n=i(27),s=i(510),o=i(6383),r=i(678);function a(e){let{className:t}=e;return(0,r.jsx)("main",{className:(0,n.A)("container margin-vert--xl",t),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(o.A,{as:"h1",className:"hero__title",children:(0,r.jsx)(s.A,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(s.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(s.A,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},628:(e,t,i)=>{i.r(t),i.d(t,{default:()=>l});i(6166);var n=i(510),s=i(6963),o=i(4142),r=i(2),a=i(678);function l(){const e=(0,n.T)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.be,{title:e}),(0,a.jsx)(o.A,{children:(0,a.jsx)(r.A,{})})]})}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[518],{7485:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>l,frontMatter:()=>s,metadata:()=>a,toc:()=>p});var t=o(678),r=o(4738);const s={title:"sparo clone"},c=void 0,a={id:"pages/commands/sparo_clone",title:"sparo clone",description:"",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/commands/sparo_clone.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_clone",permalink:"/sparo/zh-cn/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/zh-cn/pages/commands/sparo_checkout"},next:{title:"sparo fetch",permalink:"/sparo/zh-cn/pages/commands/sparo_fetch"}},i={},p=[];function d(e){const n={code:"code",pre:"pre",...(0,r.R)(),...e.components};return(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{children:"sparo clone <repository> [directory]\n\n\u4f4d\u7f6e\u53c2\u6570\uff1a\n repository \u8981\u514b\u9686\u7684\u8fdc\u7a0b\u4ed3\u5e93\u3002 [string] [required]\n directory \u8981\u514b\u9686\u5230\u7684\u65b0\u76ee\u5f55\u540d\u79f0\u3002\u5982\u679c\u672a\u660e\u786e\u6307\u5b9a\u76ee\u5f55\u540d\u79f0\uff0c\u5219\u4f7f\u7528\u6e90\u4ed3\u5e93\u7684\n \u540d\u5b57\u90e8\u5206\uff08\u5bf9\u4e8e /path/to/repo.gitService \u4f7f\u7528 repo\uff0c\u5bf9\u4e8e\n host.xz:foo/.gitService \u4f7f\u7528 foo\uff09\u3002\u4ec5\u5f53\u76ee\u5f55\u4e3a\u7a7a\u65f6\uff0c\u624d\u5141\u8bb8\u514b\u9686\n \u5230\u73b0\u6709\u76ee\u5f55\u4e2d\u3002 [string]\n\n\u9009\u9879\uff1a\n -h, --help \u663e\u793a\u5e2e\u52a9 [boolean]\n -s, --skip-git-config \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cSparo \u4f1a\u81ea\u52a8\u914d\u7f6e\u60a8\u5373\u5c06\u514b\u9686\u7684\u4ed3\u5e93\u7684\u63a8\u8350\n git \u8bbe\u7f6e\u3002\u5982\u679c\u60a8\u4e0d\u5e0c\u671b\u5305\u542b\u6b64\u6b65\u9aa4\uff0c\u53ef\u4ee5\u4f7f\u7528\u8f93\u5165\u53c2\u6570\n --skip-git-config [boolean] [default: false]\n -b, --branch \u6307\u5b9a\u8981\u514b\u9686\u7684\u5206\u652f [string]\n --profile [array] [default: []]\n"})})}function l(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},4738:(e,n,o)=>{o.d(n,{R:()=>c,x:()=>a});var t=o(6166);const r={},s=t.createContext(r);function c(e){const n=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,88 @@
/*!
* Lunr languages, `Chinese` language
* https://github.com/MihaiValentin/lunr-languages
*
* Copyright 2019, Felix Lian (repairearth)
* http://www.mozilla.org/MPL/
*/
/*!
* Snowball JavaScript Library v0.3
* http://code.google.com/p/urim/
* http://snowball.tartarus.org/
*
* Copyright 2010, Oleg Mazko
* http://www.mozilla.org/MPL/
*/
/*!
* based on
* Snowball zhvaScript Library v0.3
* http://code.google.com/p/urim/
* http://snowball.tartarus.org/
*
* Copyright 2010, Oleg Mazko
* http://www.mozilla.org/MPL/
*/
/*!
* lunr.Builder
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.Index
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.Pipeline
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.Set
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.TokenSet
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.Vector
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.stemmer
* Copyright (C) 2020 Oliver Nightingale
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
*/
/*!
* lunr.stopWordFilter
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.tokenizer
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.trimmer
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.utils
* Copyright (C) 2020 Oliver Nightingale
*/
/**
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
* Copyright (C) 2020 Oliver Nightingale
* @license MIT
*/

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[139],{1698:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>d,frontMatter:()=>n,metadata:()=>i,toc:()=>p});var c=o(678),s=o(4738);const n={title:"sparo-ci checkout"},r=void 0,i={id:"pages/ci_commands/sparo-ci_checkout",title:"sparo-ci checkout",description:"",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/ci_commands/sparo-ci_checkout.md",sourceDirName:"pages/ci_commands",slug:"/pages/ci_commands/sparo-ci_checkout",permalink:"/sparo/zh-cn/pages/ci_commands/sparo-ci_checkout",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/ci_commands/sparo-ci_checkout.md",tags:[],version:"current",frontMatter:{title:"sparo-ci checkout"},sidebar:"docsSidebar",previous:{title:"\u6982\u8ff0",permalink:"/sparo/zh-cn/pages/ci_commands/overview"},next:{title:"sparo-ci clone",permalink:"/sparo/zh-cn/pages/ci_commands/sparo-ci_clone"}},a={},p=[];function u(e){const t={code:"code",pre:"pre",...(0,s.R)(),...e.components};return(0,c.jsx)(t.pre,{children:(0,c.jsx)(t.code,{children:"sparo-ci checkout\n\n\u7528\u4e8e CI \u573a\u666f\u7684\u68c0\u51fa\u547d\u4ee4\u3002\u5b83\u76ee\u524d\u53ea\u63a5\u53d7\u9879\u76ee\u9009\u62e9\u5668\uff0c\u4f8b\u5982 --to \u548c --from\u3002\n\n\u9009\u9879\uff1a\n --help \u663e\u793a\u5e2e\u52a9 [boolean]\n -t, --to \u67e5\u770b https://rushjs.io/pages/developer/selecting_subsets/#--to\n \u4e86\u89e3\u66f4\u591a\u8be6\u60c5\u3002 [array]\n -f, --from \u67e5\u770b https://rushjs.io/pages/developer/selecting_subsets/#--from\n \u4e86\u89e3\u66f4\u591a\u8be6\u60c5\u3002 [array]\n"})})}function d(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(u,{...e})}):u(e)}},4738:(e,t,o)=>{o.d(t,{R:()=>r,x:()=>i});var c=o(6166);const s={},n=c.createContext(s);function r(e){const t=c.useContext(n);return c.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),c.createElement(n.Provider,{value:t},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[98],{5997:(e,n,s)=>{s.r(n),s.d(n,{default:()=>x});s(6166);var r=s(6963),t=s(616),o=s(345),i=s(1345),c=s(3166),u=s(678);function a(e){const{version:n}=e;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(c.A,{version:n.version,tag:(0,t.tU)(n.pluginId,n.version)}),(0,u.jsx)(r.be,{children:n.noIndex&&(0,u.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function l(e){const{version:n,route:s}=e;return(0,u.jsx)(r.e3,{className:n.className,children:(0,u.jsx)(o.n,{version:n,children:(0,i.v)(s.routes)})})}function x(e){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(a,{...e}),(0,u.jsx)(l,{...e})]})}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[810],{7913:(t,e,s)=>{s.r(e),s.d(e,{assets:()=>a,contentTitle:()=>c,default:()=>l,frontMatter:()=>r,metadata:()=>i,toc:()=>p});var o=s(678),n=s(4738);const r={title:"sparo git-fetch"},c=void 0,i={id:"pages/commands/sparo_git-fetch",title:"sparo git-fetch",description:"\u8fd9\u662f git fetch \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-fetch.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_git-fetch",permalink:"/sparo/zh-cn/pages/commands/sparo_git-fetch",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/commands/sparo_git-fetch.md",tags:[],version:"current",frontMatter:{title:"sparo git-fetch"},sidebar:"docsSidebar",previous:{title:"sparo git-clone",permalink:"/sparo/zh-cn/pages/commands/sparo_git-clone"},next:{title:"sparo git-pull",permalink:"/sparo/zh-cn/pages/commands/sparo_git-pull"}},a={},p=[];function d(t){const e={a:"a",code:"code",p:"p",pre:"pre",...(0,n.R)(),...t.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(e.p,{children:["\u8fd9\u662f ",(0,o.jsx)(e.code,{children:"git fetch"})," \u7684",(0,o.jsx)(e.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)(e.pre,{children:(0,o.jsx)(e.code,{children:"sparo git-fetch [<options>] [<repository> [<refspec>\u2026\u200b]]\nsparo git-fetch [<options>] <group>\nsparo git-fetch --multiple [<options>] [(<repository> | <group>)\u2026\u200b]\nsparo git-fetch --all [<options>]\n"})}),"\n",(0,o.jsxs)(e.p,{children:["\u8be6\u60c5\u8bf7\u53c2\u9605 Git \u6587\u6863\u4e2d\u7684 ",(0,o.jsx)(e.a,{href:"https://git-scm.com/docs/git-fetch",children:"git fetch"}),"\u3002"]})]})}function l(t={}){const{wrapper:e}={...(0,n.R)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(d,{...t})}):d(t)}},4738:(t,e,s)=>{s.d(e,{R:()=>c,x:()=>i});var o=s(6166);const n={},r=o.createContext(n);function c(t){const e=o.useContext(r);return o.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function i(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(n):t.components||n:c(t.components),o.createElement(r.Provider,{value:e},t.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[462],{5337:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>c,contentTitle:()=>p,default:()=>u,frontMatter:()=>r,metadata:()=>a,toc:()=>i});var n=o(678),s=o(4738);const r={title:"sparo pull"},p=void 0,a={id:"pages/commands/sparo_pull",title:"sparo pull",description:"",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/commands/sparo_pull.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_pull",permalink:"/sparo/zh-cn/pages/commands/sparo_pull",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/commands/sparo_pull.md",tags:[],version:"current",frontMatter:{title:"sparo pull"},sidebar:"docsSidebar",previous:{title:"sparo fetch",permalink:"/sparo/zh-cn/pages/commands/sparo_fetch"},next:{title:"sparo git-checkout",permalink:"/sparo/zh-cn/pages/commands/sparo_git-checkout"}},c={},i=[];function l(e){const t={code:"code",pre:"pre",...(0,s.R)(),...e.components};return(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{children:"sparo pull [options] [repository] [refspec...] [--profile <profile_name> | --no-profile]\n\n\u5c06\u8fdc\u7a0b\u4ed3\u5e93\u7684\u66f4\u6539\u5408\u5e76\u5230\u5f53\u524d\u5206\u652f\u3002\n\n\u9009\u9879:\n --help \u663e\u793a\u5e2e\u52a9 [boolean]\n --profile [array] [default: []]\n"})})}function u(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},4738:(e,t,o)=>{o.d(t,{R:()=>p,x:()=>a});var n=o(6166);const s={},r=n.createContext(s);function p(e){const t=n.useContext(r);return n.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:p(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[805],{489:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>a,contentTitle:()=>i,default:()=>d,frontMatter:()=>r,metadata:()=>p,toc:()=>c});var o=t(678),n=t(4738);const r={title:"sparo list-profiles"},i=void 0,p={id:"pages/commands/sparo_list-profiles",title:"sparo list-profiles",description:"",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/commands/sparo_list-profiles.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_list-profiles",permalink:"/sparo/zh-cn/pages/commands/sparo_list-profiles",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/commands/sparo_list-profiles.md",tags:[],version:"current",frontMatter:{title:"sparo list-profiles"},sidebar:"docsSidebar",previous:{title:"sparo init-profile",permalink:"/sparo/zh-cn/pages/commands/sparo_init-profile"},next:{title:"\u6982\u8ff0",permalink:"/sparo/zh-cn/pages/ci_commands/overview"}},a={},c=[];function l(e){const s={code:"code",pre:"pre",...(0,n.R)(),...e.components};return(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{children:"sparo list-profiles\n\n\u5217\u51fa\u6240\u6709\u53ef\u7528\u7684\u914d\u7f6e\u6587\u4ef6\u6216\u67e5\u8be2\u5305\u542b\u6307\u5b9a\u9879\u76ee\u540d\u79f0\u7684\u914d\u7f6e\u6587\u4ef6\n\n\u9009\u9879:\n -h, --help \u663e\u793a\u5e2e\u52a9 [boolean]\n --project \u5217\u51fa\u6240\u6709\u5305\u542b\u6b64\u6307\u5b9a\u9879\u76ee\u540d\u79f0\u7684\u914d\u7f6e\u6587\u4ef6 [string]\n"})})}function d(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},4738:(e,s,t)=>{t.d(s,{R:()=>i,x:()=>p});var o=t(6166);const n={},r=o.createContext(n);function i(e){const s=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function p(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),o.createElement(r.Provider,{value:s},e.children)}}}]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[627],{8268:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>d,frontMatter:()=>s,metadata:()=>p,toc:()=>c});var o=n(678),r=n(4738);const s={title:"sparo init-profile"},i=void 0,p={id:"pages/commands/sparo_init-profile",title:"sparo init-profile",description:"",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/commands/sparo_init-profile.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_init-profile",permalink:"/sparo/zh-cn/pages/commands/sparo_init-profile",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/commands/sparo_init-profile.md",tags:[],version:"current",frontMatter:{title:"sparo init-profile"},sidebar:"docsSidebar",previous:{title:"sparo git-pull",permalink:"/sparo/zh-cn/pages/commands/sparo_git-pull"},next:{title:"sparo list-profiles",permalink:"/sparo/zh-cn/pages/commands/sparo_list-profiles"}},a={},c=[];function l(e){const t={code:"code",pre:"pre",...(0,r.R)(),...e.components};return(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{children:"\u7528\u6cd5: sparo init-profile --profile <profile>\n\n\u9009\u9879:\n -h, --help \u663e\u793a\u5e2e\u52a9 [boolean]\n --profile \u8981\u521d\u59cb\u5316\u7684\u914d\u7f6e\u6587\u4ef6\u540d\u79f0\u3002 [string] [required]\n"})})}function d(e={}){const{wrapper:t}={...(0,r.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:()=>i,x:()=>p});var o=n(6166);const r={},s=o.createContext(r);function i(e){const t=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function p(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[63],{9644:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>p,contentTitle:()=>i,default:()=>a,frontMatter:()=>r,metadata:()=>c,toc:()=>l});var n=t(678),o=t(4738);const r={title:"\u83b7\u53d6\u5e2e\u52a9"},i=void 0,c={id:"pages/support/help",title:"\u83b7\u53d6\u5e2e\u52a9",description:"\u8bf7\u521b\u5efa GitHub issue \u6765\u62a5\u544a\u4efb\u4f55\u95ee\u9898\u6216\u529f\u80fd\u8bf7\u6c42\u3002",source:"@site/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/support/help.md",sourceDirName:"pages/support",slug:"/pages/support/help",permalink:"/sparo/zh-cn/pages/support/help",draft:!1,unlisted:!1,editUrl:"https://github.com/tiktok/sparo/tree/main/apps/website/docs/pages/support/help.md",tags:[],version:"current",frontMatter:{title:"\u83b7\u53d6\u5e2e\u52a9"},sidebar:"docsSidebar",previous:{title:"sparo-ci clone",permalink:"/sparo/zh-cn/pages/ci_commands/sparo-ci_clone"},next:{title:"\u66f4\u65b0\u5185\u5bb9",permalink:"/sparo/zh-cn/pages/support/news"}},p={},l=[{value:"\u6545\u969c\u6392\u9664\u63d0\u793a",id:"\u6545\u969c\u6392\u9664\u63d0\u793a",level:2}];function u(e){const s={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,o.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.p,{children:["\u8bf7",(0,n.jsx)(s.a,{href:"https://github.com/tiktok/sparo/issues/new/choose",children:"\u521b\u5efa GitHub issue"})," \u6765\u62a5\u544a\u4efb\u4f55\u95ee\u9898\u6216\u529f\u80fd\u8bf7\u6c42\u3002"]}),"\n",(0,n.jsxs)(s.p,{children:["\u5bf9\u4e8e\u4e00\u822c\u6027\u95ee\u9898\uff0c\u8bf7\u4f7f\u7528\u6211\u4eec\u7684 ",(0,n.jsx)(s.a,{href:"https://github.com/tiktok/sparo/discussions",children:"GitHub Discussions"})," \u8bba\u575b\u3002"]}),"\n",(0,n.jsx)(s.h2,{id:"\u6545\u969c\u6392\u9664\u63d0\u793a",children:"\u6545\u969c\u6392\u9664\u63d0\u793a"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["\n",(0,n.jsx)(s.p,{children:"\u5347\u7ea7\u5230\u6700\u65b0\u7684 GIT\u3002 \u5982\u679c\u60a8\u7684 Git \u7248\u672c\u8fc7\u65e7\uff0cSparo \u901a\u5e38\u4f1a\u62a5\u544a\u9519\u8bef\u3002\u5982\u679c\u6700\u4f4e Git \u7248\u672c\u4e0d\u591f\u9ad8\uff0c\u8bf7\u544a\u8bc9\u6211\u4eec\uff01"}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:["\n",(0,n.jsxs)(s.p,{children:["\u5982\u679c\u64cd\u4f5c\u5931\u8d25\uff0c\u8bf7\u4f7f\u7528 ",(0,n.jsx)(s.code,{children:"--debug"})," \u8fdb\u884c\u8c03\u67e5\u3002\u4f8b\u5982\uff0c\u4f7f\u7528 ",(0,n.jsx)(s.code,{children:"sparo --debug clone http://my-repo"})," \u4ee3\u66ff ",(0,n.jsx)(s.code,{children:"sparo clone http://my-repo"}),"\u3002"]}),"\n"]}),"\n"]})]})}function a(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},4738:(e,s,t)=>{t.d(s,{R:()=>i,x:()=>c});var n=t(6166);const o={},r=n.createContext(o);function i(e){const s=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),n.createElement(r.Provider,{value:s},e.children)}}}]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"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)}}}]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,71 @@
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */
/*! Bundled license information:
prismjs/prism.js:
(**
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
*)
*/
/*!***************************************************
* mark.js v8.11.1
* https://markjs.io/
* Copyright (c) 20142018, Julian Kühnel
* Released under the MIT license https://git.io/vwTVl
*****************************************************/
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

View file

@ -0,0 +1 @@
(()=>{"use strict";var e,t,r,a,f,c={},o={};function b(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return c[e].call(r.exports,r,r.exports,b),r.exports}b.m=c,e=[],b.O=(t,r,a,f)=>{if(!r){var c=1/0;for(i=0;i<e.length;i++){r=e[i][0],a=e[i][1],f=e[i][2];for(var o=!0,n=0;n<r.length;n++)(!1&f||c>=f)&&Object.keys(b.O).every((e=>b.O[e](r[n])))?r.splice(n--,1):(o=!1,f<c&&(c=f));if(o){e.splice(i--,1);var d=a();void 0!==d&&(t=d)}}return t}f=f||0;for(var i=e.length;i>0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[r,a,f]},b.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return b.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var f=Object.create(null);b.r(f);var c={};t=t||[null,r({}),r([]),r(r)];for(var o=2&a&&e;"object"==typeof o&&!~t.indexOf(o);o=r(o))Object.getOwnPropertyNames(o).forEach((t=>c[t]=()=>e[t]));return c.default=()=>e,b.d(f,c),f},b.d=(e,t)=>{for(var r in t)b.o(t,r)&&!b.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce(((t,r)=>(b.f[r](e,t),t)),[])),b.u=e=>"assets/js/"+({48:"a94703ab",63:"ed184862",98:"a7bd4aaa",139:"a121f551",149:"46ab8e97",382:"4862c16c",391:"f199686e",401:"17896441",415:"08745ef1",462:"cc41b4fb",518:"79b15dc4",578:"c1cc40e8",581:"935f2afb",597:"f55c8489",614:"200945ad",627:"e17d010b",632:"445ad0f3",647:"5e95c892",650:"0c632597",680:"091b6a0d",703:"dab3f61c",712:"6fb537a9",713:"cf2527fa",744:"595e0498",805:"d7bbcb33",810:"c927165b",831:"3a352367",850:"4fb631fe",941:"730b9bbe",951:"058c088f",990:"5729b8ff"}[e]||e)+"."+{48:"7093611a",63:"3db579a4",84:"6fbec9aa",98:"b4e9c5fc",139:"884f8019",149:"ff11840d",382:"23a4b106",391:"b2df1e94",401:"72bbc85d",415:"1a898416",448:"d24ae91b",462:"1f7707df",464:"1c7d534f",518:"c89e19d0",578:"a73f3143",581:"d81a9033",597:"32c04c2f",614:"aa212e50",627:"7f2efc7d",628:"9ac02b32",632:"66769692",647:"f7378074",650:"e1240751",680:"816a5881",703:"c736dc00",712:"3db836ff",713:"69471170",744:"249314b6",805:"33f45742",810:"7b43cbf8",831:"065d480c",850:"813d5730",941:"ca8eae5e",951:"fd662283",990:"f7665e4b"}[e]+".js",b.miniCssF=e=>{},b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},f="website:",b.l=(e,t,r,c)=>{if(a[e])a[e].push(t);else{var o,n;if(void 0!==r)for(var d=document.getElementsByTagName("script"),i=0;i<d.length;i++){var u=d[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==f+r){o=u;break}}o||(n=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.setAttribute("data-webpack",f+r),o.src=e),a[e]=[t];var l=(t,r)=>{o.onerror=o.onload=null,clearTimeout(s);var f=a[e];if(delete a[e],o.parentNode&&o.parentNode.removeChild(o),f&&f.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),n&&document.head.appendChild(o)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.p="/sparo/zh-cn/",b.gca=function(e){return e={17896441:"401",a94703ab:"48",ed184862:"63",a7bd4aaa:"98",a121f551:"139","46ab8e97":"149","4862c16c":"382",f199686e:"391","08745ef1":"415",cc41b4fb:"462","79b15dc4":"518",c1cc40e8:"578","935f2afb":"581",f55c8489:"597","200945ad":"614",e17d010b:"627","445ad0f3":"632","5e95c892":"647","0c632597":"650","091b6a0d":"680",dab3f61c:"703","6fb537a9":"712",cf2527fa:"713","595e0498":"744",d7bbcb33:"805",c927165b:"810","3a352367":"831","4fb631fe":"850","730b9bbe":"941","058c088f":"951","5729b8ff":"990"}[e]||e,b.p+b.u(e)},(()=>{var e={354:0,869:0};b.f.j=(t,r)=>{var a=b.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var f=new Promise(((r,f)=>a=e[t]=[r,f]));r.push(a[2]=f);var c=b.p+b.u(t),o=new Error;b.l(c,(r=>{if(b.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var f=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.src;o.message="Loading chunk "+t+" failed.\n("+f+": "+c+")",o.name="ChunkLoadError",o.type=f,o.request=c,a[1](o)}}),"chunk-"+t,t)}},b.O.j=t=>0===e[t];var t=(t,r)=>{var a,f,c=r[0],o=r[1],n=r[2],d=0;if(c.some((t=>0!==e[t]))){for(a in o)b.o(o,a)&&(b.m[a]=o[a]);if(n)var i=n(b)}for(t&&t(r);d<c.length;d++)f=c[d],b.o(e,f)&&e[f]&&e[f][0](),e[f]=0;return b.O(i)},r=self.webpackChunkwebsite=self.webpackChunkwebsite||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.9 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
zh-cn/images/sparo-380.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

74
zh-cn/index.html Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
zh-cn/lunr-index.json Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more