The .gitaction script is a local version of the gitaction script. When started, gitaction tries to search a script called .gitaction in the current directory and, if it finds it, it starts it. If .gitaction's exit code is 0 (.gitaction couldn't find a matching pattern), gitaction starts its own case statement trying to match the current file name (the second parameter) against its default patterns.
The .gitaction script *must* be executable. An example of .gitaction can be fount in /usr/local/lib. You should copy the example in the current directory and then modify it.
See section Configuration Files, See section git, See section gitps, See section gitview, See section gitcmp, See section gitkeys, See section gitmount, See section gitmatch, See section gitredir, See section gitaction.