Skip to content

Instantly share code, notes, and snippets.

@rbudiharso
Last active June 15, 2020 06:56
Show Gist options
  • Save rbudiharso/3a5d76fc6cffa873b93c78fe6d4d9631 to your computer and use it in GitHub Desktop.
Save rbudiharso/3a5d76fc6cffa873b93c78fe6d4d9631 to your computer and use it in GitHub Desktop.
#!/bin/sh
OLDREMOTE=aksivisitama
NEWREMOTE=usetada
sed -i "s/github.com:$OLDREMOTE/github.com:$NEWREMOTE/g" ./.git/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment