Daily Note - 17-05-2024

git
Author

JM Ascacibar

Published

May 16, 2024

Modify gitignore

Daily Note - 17/05/2024

1. Modify gitignore to prevent uploading Parquet files

In order to prevent uploading big Parquet files to the repository, I have added the following line to the .gitignore file:

*.parquet

This line tells Git to ignore all files in your repository that have the .parquet extension.

After you’ve updated the .gitignore file, any new Parquet files that you add to your project won’t be tracked by Git.

If there were any Parquet files already tracked in the repository before you added them to .gitignore, you’ll need to remove them from the repository with the following command:

git rm --cached *.parquet
git commit -m "Remove Parquet files from repository"
git push
Back to top