Hello all,
I am currently moving to GIT. It was time I know.
The way I want to work it is the following one:
1. I have a NAS where I installed GIT.
1.1. I can create folders in the NAS and via SSH create repositories in there.
2. I have installed GIT for windows in my laptop.
3. I have also installed TortoiseGIT in my laptop.
My plan is to create a repository for each part of the project (one for the PLC code, another one for the robot code...) that way, if I must work with someone else that is specialized only in one area, I don't have to share everything with them.
Now, I can clone those remote folders to local ones, stage files, commit...
And now the backups...
I plan to create a backup of all my local repositories into the NAS.
This will automatically run every night at a certain time or will be triggered manually by myself.
And the NAS repositories will also be backupped every night.
And the questions
Am I missing something?
Do the GIT plan and backup plan look OK?
Any recommendation?
After the comment from @0x01AA, I have another question.
I work in big projects in which there are multiple machines and programmers involved.
I have thought of doing one repository for each machine and for each controller to be programmed.
But then... how should I cope with global documents for the project?
Should I create another repository to put those documents?
Thank you all!
What I have tried:
Installed the server in the NAS, GIT in windows, Tortoise and tried to clone a repo. Even started to commit things there.
I am preparing the backup strategy now, but I wanted to ask for advise before going on.