That's the secret.. preparation..
Set your fenders and lead your fore and aft lines to a central part of the boat where you have a line set and its easy peasy.. even if you've a breeze blowing you off the dock..
Just need a nimble bimble..
Most common fault I see is folk hanging the fenders after running the lines..
__________________
It was a dark and stormy night and the captain of the ship said.. "Hey Jim, spin us a yarn." and the yarn began like this.. "It was a dark and stormy night.."