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 :: git commit exluding one file 
Shell :: dir /s cmd 
Shell :: dir sort by 
Shell :: pgadmin terminal connect 
Shell :: bash do-while 
Shell :: jq command in linux 
Shell :: rails db:rollback 
Shell :: batch script comment 
Shell :: redirect stderr to file linux 
Shell :: kubernetes copy files to persistent volume 
Shell :: how to control fan speed of ubuntu laptop 
Shell :: bash find and replace all files with specifc name with another file 
Shell :: substring in string shell 
Shell :: gitlab ci echo variable 
Shell :: git pull and git fetch 
Shell :: why upgrade ubuntu then frequently shows this message "It iwating for cache lock: Could not get lock /var/lib/dpkg/lock.frontend. 
Shell :: how to change git commit date 
Shell :: how force detached ENI 
Shell :: how to upen image in kali linux 
Shell :: cmd print Path pretty 
Shell :: create vite app 
Shell :: list all my jobs slurm 
Shell :: create a index of all files in linux 
Shell :: view git branch changes graphically 
Shell :: screen record on fedora 
Shell :: Set email address for LFD alerts 
Shell :: how to uninstall Gnome System Monitor 
Shell :: lavastore js 
Shell :: There is no application installed for “shared library” files 
Shell :: gh create alias 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =