# Partial Commits in WebStorm

DevFeed: [Partial Commits in WebStorm](<https://devfeed.tech/articles/partial-commits-in-webstorm-21370.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2020/07/partial-commits-webstorm/>)

Published: 2020-07-14T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [webstorm](<https://devfeed.tech/topics/webstorm.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [aliases](<https://devfeed.tech/tags/aliases.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [commits](<https://devfeed.tech/tags/commits.md>), [git](<https://devfeed.tech/tags/git.md>), [git-commands](<https://devfeed.tech/tags/git-commands.md>), [tooling](<https://devfeed.tech/tags/tooling.md>), [webstorm](<https://devfeed.tech/tags/webstorm.md>)

## AI overview

The excerpt describes how to stage selected lines for a partial Git commit in WebStorm. In the commit dialog, enable "Highlight modified lines in gutter" in preferences, then reopen the dialog and click the gutter beside the lines to include. Partial commits can help split changes with different responsibilities, but the author generally advises avoiding them unless the changes are tested properly, since they may leave commits inconsistent.

## Source excerpt

Lorem ipsum dolor sit amet