Answers for "how to push to another repo i giit"

2

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.
Posted by: Guest on April-08-2020
0

git push an existing repository from the command line

git remote add origin https://github.com/dollarkid1/walletapp-with-SpringBoot-.git
git branch -M main
git push -u origin main
Posted by: Guest on January-28-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language