by aussieguy1234 · 1y ago · 0 comments
`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`