There are different types of Creative Commons licenses. The ones that are considered "free" (by the Free Software Foundation) are the Attribution (by) and the Attribution Share Alike (by-sa), the former being a non copyleft license.
If a license isn't copyleft, it allow others to distribute your work under a different license than the one you used (this is something you probably want to avoid). So I would discard the Attribution (by) license.
On the other hand, the problem with all the CC licenses is that they aren't designed for software, so they don't take into account concept like source code, or linking from code with a different license (specially important if you're developing a library, for example). Both the GPL and the LGPL makes you distribute the source code with any modification you make (only if that modification is distributed, off course). The difference between them is whether you allow people to link to your code from code using a different license. The LGPL license was designed to allow this.
I would use the GPL, but you should think carefully before releasing software under a free license (although I'm totally in favor of this), because ones it's done, you can't go back. I've heard a few stories of companies trying to do this (don't remember exactly their names) and it didn't go well for them.