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

[MATLAB] Add MATLAB autosave files (.asv) to .gitignore #36207

Closed
kevingurney opened this issue Jun 21, 2023 · 1 comment · Fixed by #36208
Closed

[MATLAB] Add MATLAB autosave files (.asv) to .gitignore #36207

kevingurney opened this issue Jun 21, 2023 · 1 comment · Fixed by #36208

Comments

@kevingurney
Copy link
Member

Describe the enhancement requested

By default, MATLAB will periodically create backup files for files that are currently open in the MATLAB Editor. These files have a default file extension of .asv. To prevent these backup files from accidentally being committed to version control, it would be helpful to add .asv files to the .gitignore for the MATLAB interface.

Component(s)

MATLAB

@kevingurney
Copy link
Member Author

take

@kou kou added this to the 13.0.0 milestone Jun 21, 2023
kou pushed a commit that referenced this issue Jun 21, 2023
…ore` (#36208)

### Rationale for this change

By default, MATLAB will [periodically create backup files](https://www.mathworks.com/company/newsletters/articles/automatically-save-backup-m-files-with-the-matlab-editor.html) for files that are currently open in the MATLAB Editor. These files have a default file extension of `.asv`. To prevent these backup files from accidentally being committed to version control, it would be helpful to add `.asv` files to the `.gitignore` for the MATLAB interface.

### What changes are included in this PR?

1. MATLAB autosave files (`.asv`) have been added to the `.gitignore` for the MATLAB interface

### Are these changes tested?

1. Yes. Manually verified that files with filenames of the form `<filename.asv>` under the `matlab` folder are not tracked by Git. 

### Are there any user-facing changes?

No.
* Closes: #36207

Authored-by: Kevin Gurney <kgurney@mathworks.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants