Because the workflow for a lot of people is to have projects in folders which are synced to Onedrive. That allows for collaboration with colleagues that are not using git, as well as backup/archival of files and access from different computers or online sharing. My workflow of using rsync to periodically copy the files (–exclude .git) works, but isn’t ideal. If I forget or someone else edits something, I have to manually deal with conflicts. I guess the real answer is just “not everyone is a software dev.”
Why would you even have git repositories in OneDrive in the first place? Or are those local-only repos without an actual server to push to?
Because the workflow for a lot of people is to have projects in folders which are synced to Onedrive. That allows for collaboration with colleagues that are not using git, as well as backup/archival of files and access from different computers or online sharing. My workflow of using rsync to periodically copy the files (–exclude .git) works, but isn’t ideal. If I forget or someone else edits something, I have to manually deal with conflicts. I guess the real answer is just “not everyone is a software dev.”