git - Cloning from a repo then pushing to a different one -


i'm using wordpress sage every project clone repo. current project want push repo of mine though. should delete git files , start over, or can keep them , somehow inform git repo?

just add new remote.

git remote add myrepo myuser@myserver git push myrepo mybranch 

if want mybranch push myrepo, change tracking information:

git push -u myrepo mybranch 

Comments