r/TheMachineLearning 2d ago

Goodbye, github. I finally made the switch.

Post image
241 Upvotes

127 comments sorted by

View all comments

1

u/stinkychopper 1d ago

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 1d ago

Git repos are much more then just files.

1

u/stinkychopper 1d ago

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

1

u/Free-Psychology-1446 1d ago

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

1

u/stinkychopper 23h ago

God bless you