mirror of
https://github.com/tiktok/sparo.git
synced 2024-12-19 12:02:28 -05:00
23 lines
950 B
Markdown
23 lines
950 B
Markdown
---
|
|
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:
|
|
--help Show help [boolean]
|
|
-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: []]
|
|
```
|