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.)