-
Open up the Source Control view, then click a changed file to open the comparison.
-
Select the lines you want to stage.
-
Click ‘…’ then
Stage Selected Ranges
(in the ··· at the top-right corner of the editor, not the ··· at the top of the git panel on the left).
More Related Contents:
- Disable tooltip hint in Visual Studio Code
- Does anybody know the name of this setting inside of VS Code Insiders? For grayed out parameter and variable annotations
- How can I customize the tab-to-space conversion factor?
- How can I see local history changes in Visual Studio Code?
- Change the encoding of a file in Visual Studio Code
- What is a ‘workspace’ in Visual Studio Code?
- How to exclude folder from “Explore” tab?
- How to comment multiple lines in Visual Studio Code?
- Set global $PATH environment variable in VS Code
- Choose folders to be ignored during search in VS Code
- Define multiple tasks in VSCode
- How to turn off “matching” highlighting in VS Code?
- How can I install Visual Studio Code extensions offline?
- Disable wavy underline in VS Code
- Is there a way to flatten or merge single-folder folders in vs code explorer?
- How can I clear the terminal in Visual Studio Code?
- How to downgrade vscode
- How can I create templates for file extensions in Visual Studio Code?
- Live Sass Compiler – @use causes compilation error
- How do I search for files in Visual Studio Code?
- Remove trailing spaces automatically or with a shortcut
- How to restart VScode after editing extension’s config?
- How to disable “just my code” setting in VSCode debugger?
- How do you format code on save in VS Code
- How to disable or hide scrollbar/minimap?
- How can I customize comment block characters in Visual Studio Code?
- How do I turn on text wrapping by default in VS Code
- How to run a command in Visual Studio Code with launch.json
- Why does VS Code give a chip-like / distorted display when I hover over it with my mouse?
- How to disable codelens in VS code?