Is it possible to use a commit message from stdout, like:
echo "Test commit" | git commit -
Tried also to echo the message content in
.git/COMMIT_EDITMSG, but then running
git commit would ask to add changes in mentioned file.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community