Files
dotfiles/.local/bin/git-ci
2026-03-30 17:38:45 +09:00

11 lines
150 B
Bash
Executable File

#!/bin/bash
if [ $# -eq 0 ]; then
git commit -v
else
if [ "$1" = "--amend" ]; then
git commit -v --amend
else
git commit -m "$*"
fi
fi