Setting git default flags on commands
There is no generic mechanism in git to set default arguments for commands.
You can use git aliases to define a new command with the required arguments:
git config alias.lg "log --oneline"
Then you can run git lg
.
Some commands also have configuration settings to change their behavior.