File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 4242 mkdir -p /tmp/test-git
4343 echo "test content" > /tmp/test-git/README.md
4444 echo "=== Test Docker volume mount ==="
45- docker run --rm -v /tmp/test-git:/workspace -w /workspace --user root alpine:latest sh -c "apk add --no-cache git && pwd && ls -la && git init -b main && git config user.name 'Test' && git config user.email 'test@example.com' && git add . && git commit -m 'test'"
45+ docker run --rm -v /tmp/test-git:/workspace -w /workspace --user root alpine:latest sh -c "apk add --no-cache git && pwd && ls -la && git init -b main && git config user.name 'Test' && git config user.email 'test@example.com' && git status && git add . && git status && git commit -m 'test'"
4646 echo "=== Verify git repo created ==="
4747 ls -la /tmp/test-git/
4848
You can’t perform that action at this time.
0 commit comments