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 of your choice or putting them to a shelf. Select such file in the Local Changes tab of the Version Control tool window, and on the context menu choose either Move to Another Changelist or Shelve Changes.