Skip to content

Instantly share code, notes, and snippets.

@54keesh
Created October 14, 2025 08:40
Show Gist options
  • Save 54keesh/50f85f75fb6c5f4de0ff63daa199326f to your computer and use it in GitHub Desktop.
Save 54keesh/50f85f75fb6c5f4de0ff63daa199326f to your computer and use it in GitHub Desktop.
commit unstaged files directly
git commit -m "Commit only unstaged changes" $(git diff --name-only)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment