Skip to content

Add .ipynb_checkpoints/ directories to .gitignore#2626

Merged
jimmytwei merged 1 commit intooneapi-src:developmentfrom
fongjiantan:fix/fongjian/remove-jupyter-notebook-checkpoints
Mar 11, 2025
Merged

Add .ipynb_checkpoints/ directories to .gitignore#2626
jimmytwei merged 1 commit intooneapi-src:developmentfrom
fongjiantan:fix/fongjian/remove-jupyter-notebook-checkpoints

Conversation

@fongjiantan
Copy link
Contributor

Existing Sample Changes

Description

This change adds .ipynb_checkpoints/ (i.e. Jupyter Notebook checkpoint directories) to .gitignore. Accidentally committed files are also removed.

Before this, files in .ipynb_checkpoints/ can be accidentally committed by git. Now, git will safely ignore these directories.

External Dependencies

None.

Type of change

Please delete options that are not relevant. Add a 'X' to the one that is applicable.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Command Line
  • oneapi-cli
  • Visual Studio
  • Eclipse IDE
  • VSCode
  • When compiling the compliler flag "-Wall -Wformat-security -Werror=format-security" was used

This change adds .ipynb_checkpoints/ (i.e. Jupyter Notebook checkpoint directories) to .gitignore.
Accidentally committed files are also removed.

Before this, files in .ipynb_checkpoints/ can be accidentally committed by git. Now, git will safely
ignore these directories.

Signed-off-by: Fong Jian Tan <fong.jian.tan@intel.com>
@fongjiantan
Copy link
Contributor Author

This PR is submitted under oneAPI_CS_Team4 for hackathon

@Ankur-singh
Copy link
Contributor

@fongjiantan awesome work on the PR, thanks for your contribution.

@jimmytwei LGTM, the PR takes care of all .ipynb_checkpoints directories. We can merge it.

@jimmytwei jimmytwei merged commit 429df3c into oneapi-src:development Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants