Skip to content

git hook post-checkout does not work as expected  #3241

@nkhdiscovery

Description

@nkhdiscovery

Hi,
The best procedure to reproduce the bug is following step 4 of basic scenarios, versioning:
https://katacoda.com/dvc/courses/basics/versioning

It is expected that git checkout automatically triggers dvc checkout so the file.txt is restored to proper version which was committed, but it does not and cat file.txt gives test 3 after every checkout. dvc install has successfully installed the hooks, I checked, but I do not know if the tutorial is wrong or the hook is not working properly.

Metadata

Metadata

Assignees

Labels

bugDid we break something?

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions