microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
161.76k stars 28.44k forks source link

Feature request: Git Commit Active File #212905

Closed haba713 closed 4 weeks ago

haba713 commented 3 months ago

Implement a VS Code equivalent functionality for git commit pathspec where pathspec is the open and active file in VS Code. The command name could be for example "Git: Commit Active File".

man git-commit:

When pathspec is given on the command line, commit the contents of the files that match the pathspec without recording the changes already added to the index.

Running the command should save the file with a confirmation and open a dialog for entering the commit message.

Of course the command should add the file to the index (git add pathspec) if it isn't already there.

VSCodeTriageBot commented 2 months ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

VSCodeTriageBot commented 1 month ago

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

vs-code-engineering[bot] commented 4 weeks ago

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!