"To baste" is a sewing term. It means to do temporary stitches to hold things in place while you do another thing.