Skip to content

Prevent Notebook Metadata from Being Tracked #181

Description

@Grochocinski

Is your feature request related to a problem?

Whenever a notebook is run, the metadata for it updates. This means that whenever someone runs the notebook (even if the code in the notebook cells does not change), the metadata updates and will show as modified by git. This can make the commit history of notebooks hard to read since commits with only metadata changes (ie commits without updates we care about) will be intermixed with commits where the code/md blocks are updated (ie commits with updates we care about)

Describe the solution you'd like

Adding a git hook for stripping notebook metadata will prevent git from tracking useless metadata changes

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions