Hacker News new | ask | show | jobs
by DHowett 2234 days ago
So, every branch is represented by a file in .git/refs; you’ll find, for example, .git/refs/heads/master alongside any other local branches you’ve created.

There’s an analogous tree for remote branches!

1 comments

Well, hell. I've done surgery on those files before. Not sure how I forgot that.