Git manage/merge remote branches from local host -
i working on project other developers , designer. when comes style project, can not work on else wait designer finish. tried do, , half way there, is:
i set vhost designer, "different" project different url.
i copied project designer_folder.
i did git init, , add (developer_folder) remote.
what failed is, pull on designer_project specific_branch changes specific_branch of developer_project. want have project him can play around , in end pull changes project. every time start working on something, create new branch on project, , merge changes pull changes project.
just comments, googled , looked in stackoverflow. not find 1 work.
i struggling. please help.
you can use bare repository it. add folder can both access, go , call
git init --bare
then both use remote
git remote add local path/to/created/folder
you can push , pull that. have connected 2 remotes (origin , local) , can still push , pull other remote else working with.
Comments
Post a Comment