by default gedit will maintain a copy of files being edited with the prefix ~.

it is irritating sometimes to have this files uploaded to the server. a simple way to delete this file will be

$find . -name *~ -exec rm '{}' \;