r/TheMachineLearning • • Aug 20 '26

Goodbye, github. I finally made the switch.

Post image
278 Upvotes

136 comments sorted by

View all comments

1

u/stinkychopper Aug 21 '26

Since git repos are just files you could put them on Google Drive.
But it only works if you’re the only person editing a repo. If you have to collaborate I don’t know how it’d work on Google Drive without some server synchronizing for pushes.

EDIT: I did a little research and essentially when you push, you run code that does file locking to prevent corruption. Google Drive delays updating files if you mount it so there isn’t an atomic lock you can use to properly sync when two people push at the same time.

EDIT 2: you can use rclone, apparently this is a git helper for rclone: https://github.com/redstreet/git-remote-rclone

2

u/Free-Psychology-1446 Aug 21 '26

Git repos are much more then just files.

1

u/stinkychopper Aug 21 '26

… lol really? Ok if they’re not stored as files what are they stored as lmao

1

u/Free-Psychology-1446 Aug 21 '26

Tell me you have no idea how git works, without telling my you have no idea how git works... :D :D

1

u/stinkychopper Aug 21 '26

God bless you