skip to content
Alvin Lucillo

Stage selected changes

/ 1 min read

💻 Tech

Staging selected changes is helpful when you made several changes and you want to make commits on individual changes. In VS Code, click the Source Control, click the file with changes, highlight the changes that you want to stage for commit, right-click on it and select ‘Stage Selected Ranges’. You can stage multiple changes. After that, perform your git commit to finally create a commit for those staged changes.