gacm
(Git Add Commit Merge) is a Zsh function that simplifies the process of adding, committing, and optionally pushing Git changes. It combines git add .
, git commit -m
, and (optionally) git push
into a single command, with an additional option for force push.
Add the following function to your ~/.zshrc
file: