How to Convert Assignment Github Repository into Personal Github Repository?[with commit and origin]
Follow the steps:
1. Copy HTTPS from the assignment git repository
//Create a folder in your device and open your terminal, then type cd "folder name"--
2. git clone --bear
3. go to the personal GitHub repository and create a new repository, then copy the URL
4. cd project path
5. git push --mirror "Your personal repo URL"
6. done
If you want to change the origin(URL)
1. git remote -v //Check the origin
2. git remote set-url origin "Your own repo HTTPS"
0 comments:
Post a Comment