Answers for "git push commit to another repository"

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
2

how to push local created commit to another branch in git

With Git Extensions you can do something like this:
(Create if not existing and) checkout new branch, where you want to push your commit.
Select the commit from the history, which should get commited & pushed to this branch.
Right click and select Cherry pick commit.
Press Cherry pick button afterwards.
Posted by: Guest on January-04-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language