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

Create .gitignore definition #83

Open
Mandera opened this issue Apr 16, 2023 · 0 comments
Open

Create .gitignore definition #83

Mandera opened this issue Apr 16, 2023 · 0 comments
Milestone

Comments

@Mandera
Copy link
Collaborator

Mandera commented Apr 16, 2023

I thought .git/exclude and .gitignore were interchangeable when I decided to go with .git/exclude

Later learned that .git folder isn't versioned! So let's move this to .gitignore:

from generalpackager.api.shared.files.file import File
class GitExcludeFile(File):
_relative_path = ".git/info/exclude"
is_file = True
aesthetic = True
def _generate(self):
return "\n".join(self.packager.git_exclude_lines)

And also include

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant