True, I used the remote to access the code from other machines and/or as a remote backup. If you don’t need that, there’s no need for a server.
Comment on Yeah
justme@lemmy.dbzer0.com 3 days agoYou don’t need it on a server even. For simple versioning just use a local git repo without any bells and stuff
trxxruraxvr@lemmy.world 2 days ago
404@lemmy.zip 3 days ago
One of the most useful features is rolling back from origin when you’ve borked your local repo (not that I ever have…)
justme@lemmy.dbzer0.com 3 days ago
I’m not that accustomed with it myself, so my question: how can you bork your local repo so you can’t roll back? Did you tinker in the .git folder? xD
trxxruraxvr@lemmy.world 2 days ago
I’ve had colleagues who’d panic when they had merge conflicts, then fuck something up, remove the whole dir and create a new clone. If you’re competent I don’t think it should be necessary.
404@lemmy.zip 2 days ago
There are many ways. Like the other user said, fucking up a merge/rebase then fucking up the merge abort.
Or (one of my personal favorites) accidentally typing
git reset --hard HEAD~11
instead ofHEAD~1