Loading...
Loading...
VS Code integration for viewing diffs and comparing files. Use when showing file differences to the user.
npx skill4agent add badlogic/pi-skills vscodecodecode -d <file1> <file2># Compare with previous commit
git show HEAD~1:path/to/file > /tmp/old && code -d /tmp/old path/to/file
# Compare with specific commit
git show abc123:path/to/file > /tmp/old && code -d /tmp/old path/to/file
# Compare staged version with working tree
git show :path/to/file > /tmp/staged && code -d /tmp/staged path/to/filegit log --oneline -5 -- path/to/file