Answers for "mirror repository github"

0

git mirror repository

cd myrepo
git fetch origin
git push --mirror <remote_repo_git_url>
Posted by: Guest on October-13-2020
0

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
Posted by: Guest on January-26-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language