Working with VCS inside WebStorm
If you have a project linked to a VCS, you can perform all the necessary actions inside WebStorm. We will now go through some of the most-used tasks:
- Update: We can update the project by selecting Update Project from the VCS menu, as seen in the following image:
We will be presented with a dialog to select the update strategy. Select Branch Default and Using Stash; click on OK. In this way, WebStorm will use the default command for the applied branch, and use and save the changes in a Git stash.
- Add: Before you commit files, we must add them to the current change list. We can add files by going to the Local Changes ...