3 ms·
Which is very sane - what should git do if you modify the branch in one tree but not in the other? The least painful solution would require something like multi
by ivanbakel 6y ago
Which is very sane - what should git do if you modify the branch in one tree but not in the other? The least painful solution would require something like multiple-refs-per-remote-branch, which would be (to my understanding) a re-architecture.
- pjc50 6y agoWell, I wanted the same effect as two separate checkouts (ie entirely separate branch structures) but with a bit of the disk space shared between them, but that's not how it works.
- alblue 6y agoYou can use “git clone” for that; it will set up an alternates link in the local clone, so you only store the git object data in the origin but apply deltas to the clone.