Top
Best
New

Posted by der_gopher 6 hours ago

.gitignore Everything by Default(packagemain.tech)
91 points | 102 commentspage 3
Boxxed 1 hour ago|
I do this with docker. Insane that the default is to recursively ship all of PWD.
IAmLiterallyAB 3 hours ago||
Use the -u flag instead of -a. Doesn't add new files, just existing ones.
vehemenz 4 hours ago||
It's a neat approach for the current problem of untracked dotfile accumulation.

The real problem is that the entire reason to use git at this point is because of the conventions established around it. There are better VCSes and methods now, but they "break" the conventions of git (which honestly sucks, but it is what it is).

dxjxjdjsssb 2 hours ago||
I use this strategy on my home directory for tracking dotfiles.
internet101010 4 hours ago||
Put gates in place to block all .freeadvertising folders except for the ones that the project relies on.
outloudvi 5 hours ago||
If people want to apply this mechanism, it shall be not much of a hassle for writers of most (modern) programming languages, as they mostly have some `src/` directory (maybe also some `tests/`) that contains all source codes for a quick `git add`.

For Golang users, I dunno...

chrismorgan 3 hours ago||
Not particularly well-considered opinion I’ve mulled over for a few years: Git on macOS should ignore .DS_Store and ._* by default. Would this cause any problems?
not-so-darkstar 2 hours ago||
Use ~/.config/git/ignore to ignore files in all repositories
mohamedkoubaa 2 hours ago||
"Works on my machine" accelerationism
temphaaa 2 hours ago|
i am not sure why this has been upvoted this is such a bad advice...
More comments...