Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start: use tabs for a Windows command #3215

Merged
merged 6 commits into from
Feb 11, 2022
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions content/docs/start/data-and-model-versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,25 @@ run it after `git clone` and `git pull`.
If you've run `dvc push`, you can delete the cache (`.dvc/cache`) and
`data/data.xml` to experiment with `dvc pull`:

<toggle>
<tab title="Mac/Linux">

```dvc
$ rm -rf .dvc/cache
jorgeorpinel marked this conversation as resolved.
Show resolved Hide resolved
$ rm -f data/data.xml
```

</tab>
<tab title="Windows">

```
> rmdir .dvc\cache
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep $ for now. It's not an important detail to be honest.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

> del data\data.xml
jorgeorpinel marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about powershell - it it del or does it support Posix?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with PowerShell but it looks like it's a totally different command: Remove-Item.

jorgeorpinel marked this conversation as resolved.
Show resolved Hide resolved
```
jorgeorpinel marked this conversation as resolved.
Show resolved Hide resolved

</tab>
</toggle>

</details>

```dvc
Expand Down