Skip to content

Instantly share code, notes, and snippets.

@erdostom
Created July 24, 2014 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erdostom/7fe52b9f48df992f42e2 to your computer and use it in GitHub Desktop.
Save erdostom/7fe52b9f48df992f42e2 to your computer and use it in GitHub Desktop.
Update your .git repo information after renaming your profile / organization
find . -wholename '*.git/config' -type f -print0 | xargs -0 sed -i '' 's/git@github.com:BEFORE/git@github.com:AFTER/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment