39 ms·
A ref points to an object. That object doesn't change unless the hashing algo was tricked. A branch points to anything you want it to point to. It can be any r
by y4mi 9y ago
A ref points to an object.
That object doesn't change unless the hashing algo was tricked.
A branch points to anything you want it to point to.
It can be any ref you want and can be changed at will.
- friend-monoid 9y agosha1 - object (e.g. 5a480efb...) file with sha1 - ref (e.g. master) file with ref - symbolic ref (e.g. HEAD) right? Seeing as you can git update-ref branches, but you need to git symbolic-ref HEAD.