Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

mirror repository github

# open cmd 
# cd to your folder where you wanted to put the clone
cd foldername
# clone repository
git clone source_repo.git
# login to github account and create new_repo
# -> if you experience "remote: Permission to UserName/repo.git denied ..."
# -> check this article https://bit.ly/3o3L1ah
# when the clone is done, cd to clone source_repo
cd clone source_repo
# push the clone to your new repository this will include commits
git push new_repo.git --mirror
 
PREVIOUS NEXT
Tagged: #mirror #repository #github
ADD COMMENT
Topic
Name
2+1 =