commands.sh

git magic

all

Automate add, commit, and push routines. Part of `git-extras`.

More info →

Examples (6)

Commit changes with a generated message

[a]dd untracked files and commit changes with a generated message

Commit changes with a custom [m]essage

git magic -m "custom_commit_message"

[e]dit the commit [m]essage before committing

git magic -em "custom_commit_message"

Commit changes and [p]ush to remote

Commit changes with a [f]orce [p]ush to remote

made by @shridhargupta | data from tldr-pages