3 ms·
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. The
by DHowett 6y 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!
- hinkley 6y agoWell, hell. I've done surgery on those files before. Not sure how I forgot that.