mirror of
https://github.com/tiktok/sparo.git
synced 2024-12-02 11:57:13 -05:00
1 line
No EOL
2.5 KiB
JavaScript
1 line
No EOL
2.5 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[655],{2657:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>s,default:()=>u,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var o=n(678),r=n(4738);const a={title:"sparo checkout"},s=void 0,c={id:"pages/commands/sparo_checkout",title:"sparo checkout",description:"",source:"@site/docs/pages/commands/sparo_checkout.md",sourceDirName:"pages/commands",slug:"/pages/commands/sparo_checkout",permalink:"/sparo/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/pages/commands/sparo_auto-config"},next:{title:"sparo clone",permalink:"/sparo/pages/commands/sparo_clone"}},i={},p=[];function d(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:"sparo checkout [branch] [start-point]\r\n\r\nUpdates files in the working tree to match the version in the index or the\r\nspecified tree. If no pathspec was given, git checkout will also update HEAD to\r\nset the specified branch as the current branch.\r\n\r\nPositionals:\r\n branch [string]\r\n start-point [string]\r\n\r\nOptions:\r\n -h, --help Show help [boolean]\r\n -b Create a new branch and start it at <start-point> [boolean]\r\n -B Create a new branch and start it at <start-point>; if it\r\n already exists, reset it to <start-point> [boolean]\r\n --profile [array] [default: []]\r\n --add-profile [array] [default: []]\n"})})}function u(e={}){const{wrapper:t}={...(0,r.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:()=>s,x:()=>c});var o=n(6166);const r={},a=o.createContext(r);function s(e){const t=o.useContext(a);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),o.createElement(a.Provider,{value:t},e.children)}}}]); |