Make a Public Git repository Private

git clone --bare https://github.gatech.edu/gios-fall-2016/pr1.git
cd pr1.git
git push --mirror https://github.gatech.edu/<username>/<emptyRepo.git>
cd ..
rm -rf ./pr1.git/
git clone --recursive https://github.gatech.edu/<username>/<yourpr1Repo.git>
cd yourpr1Repo
git submodule init
git submodule update
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s