Some of us find ourselves carrying a lot of food on a multi-day group trip, and the single rope technique gets difficult. Try the double rope technique described below. This writer has used it hundreds of times over a period of almost 20 years, and has never lost any group food to the bears. The alternative seems to be a bear canister. This is a hard black plastic can that you must carry to your camp site.
Human hands can open it and seal food inside.
The trouble is that they weigh 3-4 pounds each and they don't hold that much food. This is not to say that a canister is bad. I have used canisters, and they work fine if you don't mind carrying them. If you do not understand the double-rope technique, and if you are not very expert with this technique, then a canister is your best bet, especially if you go to some standard bear haven in Yosemite. Another alternative that has been used is the cliff-overhang.