Skip to content

Instantly share code, notes, and snippets.

@dmitryd
Created August 11, 2019 08:34
Show Gist options
  • Save dmitryd/ab52b51cc0f71a154580ecb6419d3f64 to your computer and use it in GitHub Desktop.
Save dmitryd/ab52b51cc0f71a154580ecb6419d3f64 to your computer and use it in GitHub Desktop.
Replace git email in all subdirectories
#!/usr/bin/env bash
for f in `grep -Rl --include=config '[email protected]' .` ; do sed -i 's/[email protected]/[email protected]/' "$f" ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment