Just use git. It’s what all these front ends use at their core. It’s all just git which doesn’t need any hosting at all. If all you want is tracking changes you don’t even need to set up a remote to push / pull from. Just install git on your local development machine, make a folder for you project, and run ‘git init’. Now you have a local repo which can track and commit changes and you have all of the incredibly powerful tools available that git provides with ample documentation. Wanna back it up? Just backup the folder with any standard backup application like any other folder.
But how often do you need that for your personal projects? I just have a git repo on a server that’s accessible by ssh. I only use a web frontend when I have to share with other people and then you might as well use a free third party service.
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.
I like git(hub) because you can track changes. Not just versions
Just use git. It’s what all these front ends use at their core. It’s all just git which doesn’t need any hosting at all. If all you want is tracking changes you don’t even need to set up a remote to push / pull from. Just install git on your local development machine, make a folder for you project, and run ‘git init’. Now you have a local repo which can track and commit changes and you have all of the incredibly powerful tools available that git provides with ample documentation. Wanna back it up? Just backup the folder with any standard backup application like any other folder.
Gitlab, Gogs, Gitea… you can run all those locally.
But how often do you need that for your personal projects? I just have a git repo on a server that’s accessible by ssh. I only use a web frontend when I have to share with other people and then you might as well use a free third party service.
You don’t need it on a server even. For simple versioning just use a local git repo without any bells and stuff
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.
One of the most useful features is rolling back from origin when you’ve borked your local repo (not that I ever have…)
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
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
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.
aint that just
git
tho? i upload my code on github as a backup and so others can see it?