![]() |
![]()
| ![]() |
![]()
NAMEgit-magic - Automate add/commit/push routines SYNOPSISgit-magic [-a] [-m msg] [-e] [-p] [-f] DESCRIPTIONProduces summary of changes for commit message from git status --porcelain output. Commits staged changes with the generated commit message and opens editor to modify generated commit message optionally. Also staging and pushing can be automated optionally. OPTIONS-a Adds everything including untracked files. -m msg Use the given msg as the commit message. If multiple -m options are given, their values are concatenated as separate paragraphs. Passed to git commit command. The generated is appended to user-given messages. -e This option lets you further edit the generated message. Passed to git commit command. -p Runs git push after commit. -f Adds -f option to git push command. -h Prints synopsis. EXAMPLESThis example stages all changes then commits with automatic commit message.
-m option PREPENDS generated message.
AUTHORWritten by Alper S. Soylu <54alpersaid@gmail.com> REPORTING BUGS<https://github.com/tj/git-extras/issues> SEE ALSO<https://github.com/tj/git-extras>
|