Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to push code to another remote git repository

git remote rename origin upstream
git remote add origin URL_TO_GITHUB_REPO
git push origin master
Comment

git push to another repository

Create a new repo at github.
Clone the repo from fedorahosted to your local machine.
git remote rename origin upstream
git remote add origin URL_TO_GITHUB_REPO
git push origin master
Now you can work with it just like any other github repo. 
To pull in patches from upstream, 
simply run git pull upstream master && git push origin master.
Comment

PREVIOUS NEXT
Code Example
Shell :: remove .svn recursively linux 
Shell :: bash check if variable is number 
Shell :: how to get powers 
Shell :: ubuntu 20.04 uninstall all games 
Shell :: brew install pgdump 
Shell :: how to update ubuntu 
Shell :: install tqdm 
Shell :: arch linux 
Shell :: delete files with extension recursively 
Shell :: npm ignore scripts 
Shell :: gsap install 
Shell :: ubuntu mouse mover 
Shell :: Build-tool 32.0.0 rc1 is missing DX at dx.bat 
Shell :: linux sort by file size 
Shell :: git graph code 
Shell :: connect to specific wifi decive linux 
Shell :: grep filetype 
Shell :: linux remove last line from file 
Shell :: run /bin/sh command in docker file 
Shell :: golang hot reload 
Shell :: diskpart assign letter 
Shell :: kill tensorboard process 
Shell :: install bootstrap angular 
Shell :: scp send file 
Shell :: centos copy files ssh 
Shell :: install openvpn client ubuntu 
Shell :: patch curl 
Shell :: brew status service 
Shell :: powershell alias 
Shell :: remove last space from line 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =