News for hackers. Stuff that matters.
Re:Git password authentication is shutting down by hnbad on Friday August 13, 2021 @07:37AM (#28167732)
> Git is meant for software developers on projects complex enough to warrant using SCM.

I and most developers I know use git or similar for projects of any size, often even if it's "just" a single file or a "one-off" change (because it rarely stays that way).

I would have agreed in the days when Subversion was the closest you could get to "easy version control" but these days in my eyes "the point where using git is needed" is not far from the point where you start making changes to an existing file.

Re:Git password authentication is shutting down by AnIdiotOnTheNet on Friday August 13, 2021 @08:07AM (#28167903)
I think this way overestimates the value of both Git and source control in general for a lot of projects. Is this the result of the now common development methodology of using as many dependencies as possible or something?
Re:Git password authentication is shutting down by zem on Friday August 13, 2021 @06:08PM (#28175239)
no, it's often finding out the hard way that you have made a mess and it would be really nice to get back to the working state of an hour ago
Re:Git password authentication is shutting down by AnIdiotOnTheNet on Tuesday August 17, 2021 @08:08AM (#28208991)
It isn't that hard to just make a backup before you do anything messy. That's sorta what I'm getting at: people are using git as a really overcomplicated backup solution. It has the same problem: you forget to commit before making changes and you're still hosed.
Re:Git password authentication is shutting down by hnbad on Tuesday August 17, 2021 @12:40PM (#28211862)
Okay, but if you need to do "a backup" more than once, you will inevitably come up with your own shoddy versioning system, even if it consists of littering your project with files named "Copy of 2017-04-20_main_v1 (17).bak.new.old.bad.cpp~".

The alternative is just doing what you always do on every project: run "git init" and occasionally do a "git add -i && git commit". Even if you end up with a lot of non-descriptive snapshots name "WIP" at least you have something resembling a chronology and you can track changes across multiple files at the same time.

If your hobby projects mostly consist of single files with thousands of lines that are easy to unambiguously make copies of for backups, I won't judge you, but your experience is definitely not universal.

Re:Git password authentication is shutting down by AnIdiotOnTheNet on Thursday August 19, 2021 @10:13AM (#28234067)
> The alternative is just doing what you always do on every project: run "git init" and occasionally do a "git add -i && git commit".

Or I just let my backup software handle it. Automated daily backup supplemented with manually initiated backup if I need a specific point-in-time snapshot.

This isn't rocket science.