Skip to content

Instantly share code, notes, and snippets.

@jamie-ga
Last active August 29, 2015 14:26
Show Gist options
  • Save jamie-ga/b6e2fb8f79cc77404e9a to your computer and use it in GitHub Desktop.
Save jamie-ga/b6e2fb8f79cc77404e9a to your computer and use it in GitHub Desktop.
In pip freeze > requirements.txt, the specific commit used is included. This one-liner removes that and preserves the useful info.
%s/@[^@#]*#egg/#egg/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment