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:

  1. i set vhost designer, "different" project different url.

  2. i copied project designer_folder.

  3. 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

Popular posts from this blog

c - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -