mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-08 22:38:05 -05:00
fix(devcontainer): mark workspace as safe dir (#9136)
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Mark the current repository as safe for Git to prevent "dubious ownership" errors,
|
||||||
|
# which can occur in containerized environments when directory ownership doesn't match the current user.
|
||||||
|
git config --global --add safe.directory "$(realpath .)"
|
||||||
|
|
||||||
# Install `nc`
|
# Install `nc`
|
||||||
sudo apt update && sudo apt install netcat -y
|
sudo apt update && sudo apt install netcat -y
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user