frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

.gitignore Isn't the Only Way to Ignore Files in Git

https://nelson.cloud/.gitignore-isnt-the-only-way-to-ignore-files-in-git/
64•FergusArgyll•4h ago

Comments

Hendrikto•49m ago
This is just a very low-effort regurgitation of this: https://git-scm.com/docs/gitignore
jagged-chisel•44m ago
Hey, come on now - they added 'check-ignore' which is good complementary advice.
_the_inflator•27m ago
You made my day. Everything is said and explained there.

Ok, sometimes a more vivid and visually explanatory style would help, but here still Google is your friend for individual concepts.

One of the best resources there is. git is a hell of a tool. It looks simple but is so beautifully versatile without being complex or not deductive.

y2244•19m ago
"Google is your friend for individual concepts."

Asking aLlm is the new google

b40d-48b2-979e•14m ago

    git is a hell of a tool. It looks simple but is so beautifully versatile without being complex

    without being complex
Uh, what?
rafram•12m ago
What part of

   Enumerating objects: 15, done.
   Counting objects: 100% (15/15), done.
   Delta compression using up to 10 threads
   Compressing objects: 100% (8/8), done.
   Writing objects: 100% (8/8), 1.43 KiB | 1.43 MiB/s, done.
   Total 8 (delta 7), reused 0 (delta 0), pack-reused 0 (from 0)
   remote: Resolving deltas: 100% (7/7), completed with 7 local objects.
don't you understand?!
bryancoxwell•37m ago
I use the ever living hell out of .git/info/exclude. Works great for scripts/Makefiles I only want locally and collaborators wouldn’t care about or be able to use.
RSHEPP•15m ago
Interested in examples of the types of scripts others collaborators wouldn't be able to use? Like scripts for PR workflows?
junon•11m ago
Usually when I'm working in one part of the codebase and I have sample data or something at a specific path on my local machine and Im testing the same thing over and over again will I make a Makefile or something and info/exclude it to help me keep focused. That's one way I use it.
hk1337•14m ago
~/.config/git/ignore and ~/.config/git/config is the proper place for your global git config and ignore instead of creating a ~/.gitignore_global and changing the config. IMO.

my dotfiles are a lot smaller at the root level taking advantage of the ~/.config/ for a lot more things.

the git exclude isn't used as much because it doesn't get committed to the repository so you'd have to recreate it each time you wanted to use it. that doesn't mean they're bad just why they are not used.

b40d-48b2-979e•3m ago
As a bonus, you can (should?) version control your `~/.config` dir to enable future revisions and sharing.
judofyr•10m ago
Not sure where I picked up this, but I’ve added this to my global Git ignore:

    attic
That way you can just create an attic directory in any project where you can keep random stuff that should never be committed. I’ve yet to find a repo which actually has such a directory checker in.
williamjackson•6m ago
I do this too! But I call it `.local`

Emacs 31 Is Around the Corner: The Changes I'm Daily Driving

https://www.rahuljuliato.com/posts/emacs-31-around-the-corner
175•frou_dh•2h ago•66 comments

Has W Social switched to closed source?

https://blog.elenarossini.com/w-social-public-institutions-and-the-theater-of-european-digital-so...
88•nemoniac•1h ago•44 comments

I found 10k GitHub repositories distributing Trojan malware

https://orchidfiles.com/github-repositories-distributing-malware/
119•theorchid•2h ago•33 comments

Hospitals and universities repurposing drugs at 90% lower cost

https://www.kcl.ac.uk/news/hospitals-and-universities-repurposing-drugs-at-90-lower-cost
129•giuliomagnifico•4h ago•55 comments

Migrate from OpenClaw

https://hermes-agent.nousresearch.com/docs/guides/migrate-from-openclaw
10•JumpCrisscross•13m ago•2 comments

Midjourney Medical

https://www.midjourney.com/medical/blogpost
1048•ricochet11•12h ago•725 comments

Advanced Compilers: The Self-Guided Online Course

https://www.cs.cornell.edu/courses/cs6120/2025fa/self-guided/
79•ibobev•3h ago•5 comments

Microsoft new Outlook takes 10 seconds to do what Outlook Classic does instantly

https://www.windowslatest.com/2026/06/15/microsofts-new-outlook-takes-10-seconds-to-do-what-outlo...
191•Adam-Hincu•2h ago•122 comments

DeepSeek Introduces Vision

https://chat.deepseek.com/
301•RIshabh235•8h ago•118 comments

Modos Color Monitor Pushes E-Paper Displays Further

https://spectrum.ieee.org/modos-e-paper-monitor
40•Vinnl•3h ago•14 comments

Local Qwen isn't a worse Opus, it's a different tool

https://blog.alexellis.io/local-ai-is-not-opus/
337•alphabettsy•11h ago•181 comments

We built a persistent agent memory layer on Elasticsearch with 0.89 recall

https://www.elastic.co/search-labs/blog/agent-memory-elasticsearch
52•showmypost•3h ago•12 comments

.gitignore Isn't the Only Way to Ignore Files in Git

https://nelson.cloud/.gitignore-isnt-the-only-way-to-ignore-files-in-git/
65•FergusArgyll•4h ago•13 comments

Lore – Open source version control system designed for scalability

https://lore.org/
1194•regnerba•1d ago•637 comments

How Alberta Eradicated Rats

https://worksinprogress.co/issue/albertas-war-on-rats/
15•tzury•1h ago•4 comments

Image Toolbox (T8RIN)

https://github.com/T8RIN/ImageToolbox/
9•unexpectedVCR•3d ago•2 comments

Vinyl Cache and Varnish Cache

https://vinyl-cache.org/organization/on_vinyl_cache_and_varnish_cache.html#org-vinyl-varnish
47•embedding-shape•3d ago•14 comments

Seven Perfect Shuffles Randomize a Deck of Cards. But How Many Sloppy Ones?

https://www.quantamagazine.org/seven-perfect-shuffles-randomize-a-deck-of-cards-but-how-many-slop...
38•layer8•5h ago•24 comments

Git platform built for agentic era

https://gitlawb.com/node
6•kevin11111•1h ago•7 comments

Unity vs. Floating Point

https://aras-p.info/blog/2026/06/11/Unity-vs-floating-point/
14•ibobev•3d ago•0 comments

AMD silently removes memory encryption from consumer Ryzen CPUs

https://www.tomshardware.com/pc-components/cpus/amd-silently-removes-memory-encryption-from-consu...
282•lompad•6h ago•140 comments

US holds off blacklisting DeepSeek, more than 100 firms deemed security risks

https://www.reuters.com/world/china/us-holds-off-blacklisting-chinas-deepseek-more-than-100-firms...
496•giuliomagnifico•1d ago•546 comments

I need your clothes, your boots, and your motorcycle

https://rbelmont.mameworld.info/?p=1725
98•ingve•6h ago•83 comments

I hate compilers

https://xeiaso.net/notes/2026/anubis-wasm-vendor-binary/
120•xena•9h ago•103 comments

Sogen – High-performance Windows and Linux userspace emulator

https://sogen.dev/
57•fratellobigio•3d ago•16 comments

Clojure Hosted on Go

https://github.com/glojurelang/glojure
183•dnlo•15h ago•23 comments

How we run Firecracker VMs inside EC2 and start browsers in less than 1s

https://browser-use.com/posts/firecracker-browser-infra
300•gregpr07•1d ago•211 comments

Taxonomy of the Occlupanida (parasitoids on bread bag tags)

https://www.horg.com/horg/?page_id=921
178•beatthatflight•15h ago•42 comments

Storied Colors – A catalogue of named colors

https://storiedcolors.com/
206•susiecambria•16h ago•48 comments

The Alaska Server

https://serialport.org/blog/the-alaska-server/
40•speckx•2d ago•11 comments