.gitignore Is Inherently Sisyphean
1–10 of 68 posts
Re: .gitignore Is Inherently Sisyphean
#2I highly suggest using templates from https://github.com/github/gitignore for your project as they tend to include a lot of files commonly found in them - eg .idea folders and so on.
Re: .gitignore Is Inherently Sisyphean
#3Cool post. I highly suggest using templates from https://github.com/github/gitignore for your project as they tend to include a lot of files commonly found in them - eg .idea folders and so on.
You should just pick the nearly exhaustive option instead
Re: .gitignore Is Inherently Sisyphean
#4Re: .gitignore Is Inherently Sisyphean
#5Re: .gitignore Is Inherently Sisyphean
#6Re: .gitignore Is Inherently Sisyphean
#7Re: .gitignore Is Inherently Sisyphean
#8Cool post. I highly suggest using templates from https://github.com/github/gitignore for your project as they tend to include a lot of files commonly found in them - eg .idea folders and so on.
For per-user gitignore, one can set the following config in ~/.gitconfig:
# System-wide gitignore file
# To avoid in-repo repetition for system-specifc garbage files
[core]
excludesfile = ~/.config/git/gitignore
Then your file at ~/.config/git/gitignore can be a normal format, and not need to be stored in repo.
Perfect for system files (.DS_Store...) or editor swap files etc.Re: .gitignore Is Inherently Sisyphean
#9Yes, the time I used to hook up "rm `find ./ | grep DS_Store`" before anyone do a `git add`