Add .gitignore file
See original GitHub issueMaybe it’s better to add a .gitignore file to ignore python build files such as *.pyc
, when I use this repo as submodule(here), it always come up with some “changes”
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Ignoring files - GitHub Docs
You can create a .gitignore file in your repository's root directory to tell Git which files and directories to ignore when you make...
Read more >What is Gitignore and How to Add it to Your Repo
The .gitignore file is a text file that tells Git which files or folders to ignore in a project. A local .gitignore file...
Read more >git - How to create a .gitignore file - Stack Overflow
For a .gitignore file choose Other → Empty and click on Next. Type in the name (.gitignore) into the Save As field and...
Read more >.gitignore file - ignoring files in Git | Atlassian Git Tutorial
If you want to ignore a file that you've committed in the past, you'll need to delete the file from your repository and...
Read more >How to Use a .gitignore File - Pluralsight
A .gitignore file is a plain text file where each line contains a pattern for files/directories to ignore. Generally, this is placed in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, was looking at https://github.com/github/gitignore/blob/master/Python.gitignore for inspiration, but I think most of those might be a bit overkill or not apply for this project.
I added some distribution-related files now too.
seems just pyc is enough for your repo.
and all the build files from python as bellow: