docs(docker): add FAQ for using git worktrees#5076
Conversation
Added a new FAQ & Troubleshooting section to the flutter_agy_docker README. This section explains how to configure Git to use relative paths for worktrees when working within the container to prevent broken worktree references.
There was a problem hiding this comment.
Code Review
This pull request configures Git to use relative paths for worktrees in the Dockerfile and adds a troubleshooting section to the README.md explaining how to use Git worktrees within the container. The review feedback suggests documenting two critical caveats: ensuring the main repository is accessible when mounting a worktree, and running the repair command on the host rather than inside the container if the worktree is already broken.
|
/gemini take a look at 4e6273e |
There was a problem hiding this comment.
Code Review
This pull request configures Git to use relative paths for worktrees inside the Docker container and adds a troubleshooting section to the README explaining how to configure this on the host machine. The reviewer suggested clarifying that the host machine command should be run from within a Git repository to avoid a fatal error.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Added a new FAQ & Troubleshooting section to the flutter_agy_docker README.
This section explains how to configure Git to use relative paths for worktrees
when working within the container to prevent broken worktree references.
Also make sure the next image has this turned on so when you type "gwta fu" you get a ".git" that is relative.