Skip to content

Instantly share code, notes, and snippets.

@cgcostume
Created January 18, 2016 14:10
Show Gist options
  • Save cgcostume/3810b30b792aaff6c845 to your computer and use it in GitHub Desktop.
Save cgcostume/3810b30b792aaff6c845 to your computer and use it in GitHub Desktop.
copy all file names within a directory into clipboard (within git repository)
git ls-files | clip
@cgcostume
Copy link
Author

Thanks to http://www.labnol.org/software/copy-command-output-to-clipboard/2506/ and https://git-scm.com/docs/git-ls-files (dir does not allow for the required formatting: plain single line per file).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment