Comment

Comment by aussieguy1234

I do this to copy files into the chat

`cat file.js | xclip -sel clip`

On Linux, this copies the whole file to the clipboard and I can paste it in.

This is considerably faster than using the mouse.

I can also get a code review done by getting the diff `git diff develop..feature/my-branch | xclip -sel clip`

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton