<div dir="ltr">Dear Chris, and all Koha,<br><br>This might not be best place to ask, but I am new to GIT and I have searched all day on a way to do the following.<br><br><br>[Development] [Test] [Production] <--Big Servers, not laptop<br>
<br>[<b>Development Server to have</b>]<br>============[Koha GIT Clone] ====> sudo git clone git://<a href="http://git.koha-community.org/koha.git">git.koha-community.org/koha.git</a> koha-clone<br>========================[Company Branch] =====>sudo git branch --track MSDR-Branch origin/master<br>
[<b>Test Server to have</b>]<br>==================Only Test Code [no git]<br>[<b>Production Server to have</b>]<br>==================Only Production Code [no git]<br><br><br>Now I believe up to this point I understand and it is working fine. However I am stuck on the following:<br>
<br>[My Laptop - Local Development] <br><br>- How do I checkout the MSDR-Branch on this laptop, so I can make changes to it, and commit those changes to the MSDR-Branch. [Help please]. I did alot of different commands, non of which work.<br>
<br>Assuming the laptop has SSH installed, and the IP is 123.xx.xxx.xxx<br><br>I searched google for remote branches/checking out remote branches/....and I don't know how to proceed. It all seems complicated? Do I use checkout command, and how do I access the MSDR-Branch from the server while working from laptop.<br>
<br>I kindly need your help, anyone :)<br><br>The development workflow should be like:<br><br><br>===============Development Server========GIT Clone + Main MSDR-Branch *The whole team will have to use it, not just me*<br>
| |<br>| |<br>| ======================Laptop - only me--commiting code to GIT on the Development Server MSDR-Branch<br>======================Another Laptop - someone else -- committing code to GIT on the Development Server MSDR-Branch<br>
<br><br>ps: I really did search a lot. I even used EGIT for Eclipse but it was not great...not like the SVN plugin.<br><br><br>Thanks,<br><br><br><br><br></div>