We are a small team of data scientists maintaining some business processes in Git repository.
We have a lot of dead and unused code, things like process.R
, process_1_1_0.R
and process2.R
(and, obviously, only one is used).
The idea has always been to keep some older code 'in case something happens'.
Since all the changes are saved in Git anyway I proposed to finally get rid of all unused files. My idea was only partially accepted with a suggestion to place everything into backup
subdirectories reason being that it is 'quicker and easier to recover an old working version this way'.
But does that make sense? Could somebody comment and/or reference some applicable Git workflows?
Thanks.