For the general problem of adding the arguments of one of several commands as an alias, git alias works almost the same way as a regular nix alias. The only difference is that if the alias git starts with ! , he suggested that git should be added to the command. Any arguments used in conjunction with an alias are added to insert the argument into the command login line, which requires parsing the command. See for example this question for arguments.
But for this question in particular. I agree with others that this is a useful thing. If you are going to click immediately after committing, I assume that each user has their own private private repo (only for others), so pressing "never" will work, which means that it is very different from svn; they should come from different repositories, etc.
If you instead use one public โmaster repo,โ which everyone pulls and pushes, it would be even worse, because when the push inevitably works someday, they are trained not to use โcommitโ, and then โpushโ, but use your alias "ci" to commit and push changes; When they try to "re-commit" the changes, the second part will not be executed because the first command will not complete the success status (but instead prints no changes added to commit (use "git add" and/or "git commit -a") ) .
source share