If you don't want to commit some of your changes to the repository, you can set them aside by either moving them to a separate changelist or putting them to a shelf. Select such file in the Local Changes tab of the Version Control tool window, and from the context menu choose either Move to Another Changelist or Shelve Changes.

Move to Another Changelist