Draft
Conversation
- Add .git/yolo/config file support for per-project settings - Support PODMAN_VOLUME, PODMAN_OPTION, CLAUDE_ARG configuration keys - Support default flags: ANONYMIZED_PATHS, USE_NVIDIA, WORKTREE_MODE - Add --no-config flag to ignore config file - Add config.example file with documentation - Update README.md with configuration instructions - Config file location in .git/yolo/ survives git clean and works with worktrees Co-authored-by: yarikoptic <39889+yarikoptic@users.noreply.github.com>
- Separate config podman args from CLI args before separator logic - Append config claude args instead of overwriting them - Ensure config options are passed to podman, not claude - Fix handling when no -- separator is present Co-authored-by: yarikoptic <39889+yarikoptic@users.noreply.github.com>
- Add information about .git/yolo/config in setup output - Guide users to copy config.example for project defaults Co-authored-by: yarikoptic <39889+yarikoptic@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add configuration for local yolo settings
Add per-project configuration file support
Feb 5, 2026
Member
|
I think this is overcomplicated. Couldn't it be just some bash file to source which would define those options as e.g. bash arrays to be expanded in the command line invocation?? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.git/yolo/configfor per-project default options, primarily to avoid repeating volume mounts and other podman options.Implementation
.git/yolo/config(survivesgit clean, shared across worktrees)PODMAN_VOLUME- volume mountsPODMAN_OPTION- arbitrary podman flagsCLAUDE_ARG- arguments passed to claudeANONYMIZED_PATHS,USE_NVIDIA,WORKTREE_MODE- default flags--no-configbypasses entirelyExample
Then
yoloautomatically applies these options, whileyolo --no-config -v /custom:/custom:Zignores config and uses CLI args only.Technical Notes
find_git_dir()traverses up to find.gitdirectory, handles worktree.gitfiles pointing to.git/worktrees/<name>--separator logic to correctly route podman vs claude argsOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.