Process for creating a private version of CIRRUS-DAAC, while maintaining the ability to pull changes from CIRRUS-DAAC.
A new (private) repository to mirror CIRRUS-DAAC into. Instructions to do so are below:
-
Navigate to github.com
-
Click the new repository button.
-
Name the repo and click
create repository
cd to/your/project/directory
git clone --bare https://github.com/asfadmin/CIRRUS-DAAC
cd CIRRUS-DAAC.git
git push --mirror https://github.com/account/new_repo
cd to/your/new_repo
git remote set-url origin https://github.com/asfadmin/CIRRUS-DAAC.git
git pull
git remote set-url origin https://github.com/account/new_repo.git
git push