Skip to content

Instantly share code, notes, and snippets.

@tibovanheule
Created November 8, 2018 00:42
Show Gist options
  • Save tibovanheule/c0e6cb08e3e7e7f61095b6c7f63db62e to your computer and use it in GitHub Desktop.
Save tibovanheule/c0e6cb08e3e7e7f61095b6c7f63db62e to your computer and use it in GitHub Desktop.
#!/bin/bash
# This copies a github enterprise (Ugent Repo to your github)
# Uses an SSH KEY!!!
cd /root/
rm -R project-groep12.git/
git clone git@github.ugent.be:Systeemprogrammeren2018/project-groep12.git --bare -q
cd project-groep12.git/
git remote add tibo git@github.com:tibovanheule/ProjectSysteemProg.git
git push tibo --mirror -q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment