Skip to content

Instantly share code, notes, and snippets.

View tomeo's full-sized avatar

Tommy Ivarsson tomeo

  • Akribi System AB
  • Helsingborg, Sweden
  • LinkedIn in/tommyi
View GitHub Profile
@erikw
erikw / ..git-commit-status - Generate git commit message from git-status.md
Last active June 18, 2025 09:31
Generate git commit message from git-status. Will generate a commit message like "Added: file1.py file2.py file3.py Modified: file4.py file5.py Deleted: README.md Renamed: test.txt-> test2.txt". Put this in your .gitconfig.

git commit-status alias

An alias that will generate a git commit message staged changes as shown in git-status. Put this alias (section below) in your .gitconfig.

The message generated will be in the format of:

$ git status --porcelain
A file1.py
A file2.py
A file3.py