Skip to content

Commit

Permalink
Fix ssh issue with pushing from container.
Browse files Browse the repository at this point in the history
  • Loading branch information
markspec authored and tasansal committed Sep 13, 2023
1 parent a510871 commit eca9b68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ cp -f /root/.gitconfig_tmp /root/.gitconfig
cp -f /home/vscode/.gitconfig_tmp /home/vscode/.gitconfig
chmod 777 /home/vscode/.gitconfig
git config --global --add safe.directory `pwd`
# Enable ssh with github for git push
ssh-keygen -f "/root/.ssh/known_hosts" -R "github.com"
# poetry install --with dev --no-ansi
# poetry shell

0 comments on commit eca9b68

Please sign in to comment.