How to push a branch to another repository in Git

preview_player
Показать описание
Here we discuss on how to push a existing branch to a new repository using Git. We can develop a project in a branch and we can publish it as a brand new project using another repository.
git push
git push to another branch
git push branch
git push origin
git create new remote branch
git push to remote branch with different name
Рекомендации по теме
Комментарии
Автор

clean simple and straight to the point be Blessed🤗

PriscillaWakahia
Автор

Hello Sir,
I have a doubt,
I have uploaded a code from folder A to github repository.
If I have to upload a code from folder B to the existing git hub repository, it throws an error stating pull is required before push.
Could you pls help me with this?

niveathasri
Автор

hello sir, i have an assignment to push my file to a public repo created by my college. is the technique the same of it like here or is there another way?

bijaykhanal