devpod icon indicating copy to clipboard operation
devpod copied to clipboard

container with git worktree dont work

Open castorinop opened this issue 11 months ago • 2 comments

What happened?

i started a devcontainer using a worktree git branch as workspace.
when try run git command get : fatal: not a git repository:

What did you expect to happen instead?

How can we reproduce the bug? (as minimally and precisely as possible)

My devcontainer.json:

{
    "name": "freqtrade Develop",
    "image": "ghcr.io/freqtrade/freqtrade-devcontainer:latest",
    // Use 'forwardPorts' to make a list of ports inside the container available locally.
    "forwardPorts": [8080],
    "workspaceMount": "source=${localWorkspaceFolder},target=/user/ftuser/freqtrade,type=bind,consistency=cached",
 }

Local Environment:

  • DevPod Version: v0.6.9
  • Operating System: linux
  • ARCH of the OS: AMD64

castorinop avatar Jan 27 '25 15:01 castorinop

Duplicate of https://github.com/loft-sh/devpod/issues/512

bkneis avatar Jan 28 '25 17:01 bkneis

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Mar 30 '25 02:03 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Apr 30 '25 02:04 github-actions[bot]