Open dj-shin opened 6 years ago
EDIT: As @yuyupopo wrote below, you can transfer your repo with "Import repository," only when you're not using 2FA. Put your original repository's clone URL, name your new repository, and click "Begin import." You will be asked your username and password. Once it is done, you'll have an exact copy of your original repository, on your hand. :smile:
Again, note that you can't use this method if you've enabled two-factor authentication.
Transferring cannot be done automatically because you're not a repository owner. Instead, you should manually do this.
git clone
. Of course, you don't need this step if you already have a local copy of the repo.cd
into the repo directory.
cd swpp17-teamX
git remote
.
# replace the URL with yours
git remote set-url origin https://github.com/tirr-c/new-repository.git
master
branch into the new repo.
git push origin master
@tirr-c Thank you for detailed instruction :smiley:
I just clicked the Import Repository Button and imported my team's repository to my own private repo. Will it be fine?
@yuyupopo If the commit history looks same, it would be fine.
@tirr-c Thank you!
We need to remove repositories of your team projects (https://github.com/swsnu/swpp17-teamX) We will remove them at 2/27(Tue) 23:59, so please clone or transfer them into your personal account if you need to keep your project.
NOTE: Simply forking the repository will not preserve it since they are private repositories (https://help.github.com/articles/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility/)