This script will allow any github repository to be cloned, scrubbed (removing all references to username and email), creating new repository within organization account and pushing the 'cleaned' code to new repository. Your user must have 'write' privileges to the organization account in order to push the 'scrubbed' repository to github.
-
clone this repository - anonymokata
-
change directory, to the directory where you want to clone the candidate repository.
-
execute the anonymizer script...
[anonymokata]/anon.sh
-
answer these questions.
Enter the name of the organization. [name of your organization] : Enter the name of the user within anonymokata. [authorized github user] Enter the name of the user within anonymokata. [authorized github user] : Enter the name of the new repository. [this will be generated] : Enter the GitHub URL to clone : [paste the candidate URL here] Do you really want to anonymize this repo? [Y/n]:
-
Enter host password for user 'github user':
-
you are done.