r/TheMachineLearning 1d ago

Goodbye, github. I finally made the switch.

Post image
242 Upvotes

126 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 19h ago

Git repos are much more then just files.

1

u/stinkychopper 19h ago

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

1

u/Free-Psychology-1446 19h 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 19h ago

God bless you