Git read-tree: Carbon-Copy without Merge Hell

1 pointsposted 12 hours ago
by rustic-indian

1 Comments

rustic-indian

12 hours ago

git read-tree is a photocopier. It copies the state of another branch directly into your staging area. It doesn’t care about history, ancestors, or shared code. It just puts the files where you want them.

(And best of all, it’s already included with git, so there’s nothing else to download or install.)