Overview
Config ops via git_action.
Key Tools
- •
git_action: "git config --list", "git config --global user.name 'User'", "git config --global --add safe.directory "<project directory>""
Usage Instructions
- •Global: --global flag.
- •Set: "git config <key> <value>".
- •Get: "git config <key>".
Examples
- •Set user:
git_actionwith command="git config --global user.name 'John Doe'". - •Set project as a safe directory:
git_actionwith command="git config --global --add safe.directory "/development/repositories-list"".
Error Handling
- •Invalid key: Check docs.