tiktok-sparo/apps/website/docs/pages/commands/sparo_checkout.md

24 lines
950 B
Markdown
Raw Normal View History

2024-03-01 03:19:27 -05:00
---
title: sparo checkout
---
```
sparo checkout [branch] [start-point]
Updates files in the working tree to match the version in the index or the
specified tree. If no pathspec was given, git checkout will also update HEAD to
set the specified branch as the current branch.
Positionals:
branch [string]
start-point [string]
Options:
2024-03-05 02:52:36 -05:00
-h, --help Show help [boolean]
2024-03-01 03:19:27 -05:00
-b Create a new branch and start it at <start-point> [boolean]
-B Create a new branch and start it at <start-point>; if it
already exists, reset it to <start-point> [boolean]
--profile [array] [default: []]
--add-profile [array] [default: []]
```