Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to commit only certain files with git commit --only #3910

Open
axosoft-ramint opened this issue Jan 6, 2025 · 0 comments
Open
Labels
feature New feature or request
Milestone

Comments

@axosoft-ramint
Copy link
Contributor

You can use git commit --only -m "<commit-message>" foo/bar/fileA.ts foo/bar/fileB.ts

and git will commit those file paths directly without touching you staged/unstaged files.

We should add support for this as a context menu option on files in SCM view

@axosoft-ramint axosoft-ramint added the feature New feature or request label Jan 6, 2025
@axosoft-ramint axosoft-ramint added this to the 16.2 milestone Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant