Dear Chris, and all Koha,
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.
[Development] [Test] [Production] <--Big Servers, not laptop
[Development Server to have]
============[Koha GIT Clone] ====> sudo git clone git://git.koha-community.org/koha.git koha-clone
========================[Company Branch] =====>sudo git branch --track MSDR-Branch origin/master
[Test Server to have]
==================Only Test Code [no git]
[Production Server to have]
==================Only Production Code [no git]
Now I believe up to this point I understand and it is working fine. However I am stuck on the following:
[My Laptop - Local Development]
- 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.
Assuming the laptop has SSH installed, and the IP is 123.xx.xxx.xxx
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.
I kindly need your help, anyone :)
The development workflow should be like:
===============Development Server========GIT Clone + Main MSDR-Branch *The whole team will have to use it, not just me*
| |
| |
| ======================Laptop - only me--commiting code to GIT on the Development Server MSDR-Branch
======================Another Laptop - someone else -- committing code to GIT on the Development Server MSDR-Branch
ps: I really did search a lot. I even used EGIT for Eclipse but it was not great...not like the SVN plugin.
Thanks,