Skip to content

Instantly share code, notes, and snippets.

@christianhelle
Created March 26, 2023 09:26
Show Gist options
  • Save christianhelle/e86a7e536375c64fb830e2bef5dc62b1 to your computer and use it in GitHub Desktop.
Save christianhelle/e86a7e536375c64fb830e2bef5dc62b1 to your computer and use it in GitHub Desktop.
git commit one file at a time from powershell
git add .
git ls-files | Get-ChildItem | Select-Object -Property $_.Name | ForEach-Object { git commit -m "Update $_" $_ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment