Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git mirror repository

cd myrepo
git fetch origin
git push --mirror <remote_repo_git_url>
Comment

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
Comment

PREVIOUS NEXT
Code Example
Shell :: send file netcat 
Shell :: git config credential.username 
Shell :: push existing repo 
Shell :: get path ubuntu 
Shell :: get ip address in powershell specifically 
Shell :: how to install nginx on docker 
Shell :: how to deploy to netlify using git bash 
Shell :: npm install version 
Shell :: convert wsl to wsl2 
Shell :: vim replace multiple lines 
Shell :: kill k3s 
Shell :: install python poetry 
Shell :: bash number of elements in variable 
Shell :: k8s set default namespace 
Shell :: how to remove amplify from system globally 
Shell :: tv on ubuntu 
Shell :: leaflet install yarn 
Shell :: install yup in vue 
Shell :: github git init main 
Shell :: bash run multiple commands in parallel 
Shell :: ssh copy folder 
Shell :: undercover mode kali 
Shell :: aws cli has no installation package in ubuntu server 20.04 how to solve 
Shell :: wine command not found 
Shell :: inkscape svg to pdflatex 
Shell :: linux command to clean up log files in /var/log 
Shell :: enable apache2 site 
Shell :: generating a new ssh key 
Shell :: docker container with powershell 
Shell :: git new branch 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =