tiktok-sparo/zh-cn/assets/js/445ad0f3.66769692.js
2024-08-29 19:59:14 +00:00

1 line
No EOL
4.8 KiB
JavaScript

"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)}}}]);