This question already has an answer here:
From the descriptions I've seen online, once I have set up a supply line between two settlemens they should share resources. However, when I look at their respective inventories they seem separate.
How does resource sharing work, exactly? What happens when I set up a supply line?