News for hackers. Stuff that matters.
Re:How Dwarf Fortress is built by AnIdiotOnTheNet on Thursday July 29, 2021 @12:57PM (#27998614)
Sure, but it also removes most of the reason to use Git.
Re:How Dwarf Fortress is built by hhjinks on Thursday July 29, 2021 @01:05PM (#27998713)
Don't underestimate all the useful information a complete git log contains, even for solo developers. You can look years back and find out exactly why a change was made.
Re:How Dwarf Fortress is built by outworlder on Thursday July 29, 2021 @03:51PM (#28000615)
The main reason is the ability to undo mistakes. Or compare working code with non-working code (including bisect)

That's very valuable even when solo, and worth typing a "commit" command once in a while.

Re:How Dwarf Fortress is built by potatoman22 on Thursday July 29, 2021 @01:05PM (#27998709)
In my experience, most people use git as version control. Branching etc is very useful, but not necessary for a 1-person project.
Re:How Dwarf Fortress is built by tonyedgecombe on Thursday July 29, 2021 @01:37PM (#27999093)
I find branching useful whilst working on my own, I certainly wouldn't want to go back to CVS/SVN.
Re:How Dwarf Fortress is built by flatiron on Thursday July 29, 2021 @01:10PM (#27998774)
It is if you want to bug fix released items but keep steam rolling features for the next version.
Re:How Dwarf Fortress is built by emteycz on Thursday July 29, 2021 @01:06PM (#27998719)
I invite you to try using Git as much as possible for two weeks. After a week I started using Git for branching out of my main branch to test several different ideas and then compare them at once with other developers - colleagues or friends. I think that moved the meetings and discussions with my teammates up a level.
Re:How Dwarf Fortress is built by AnIdiotOnTheNet on Thursday July 29, 2021 @01:13PM (#27998812)
I have used Git when working with FOSS projects, and I tried using it for my own but it never took. The sort of workflow it is built for just isn't how I like to do things when I work on my own.
Re:How Dwarf Fortress is built by mypalmike on Thursday July 29, 2021 @02:45PM (#27999910)
Solo workflow is as simple as write code, git commit, repeat. Throw in a git push every once in a while. All on master, no branching or forking.
Re:How Dwarf Fortress is built by galaxyLogic on Thursday July 29, 2021 @07:00PM (#28002505)
I do a lot of that in my solo project. I would add to your list "write a commit comment". It's like keeping a journal you can go back to. It gives me time to stop and think what have I done, what needs to be done next.

I don't much read my git-commit-comments but I think it is useful to write them.

I don't usually branch, at least at this stage of the project. Probably yes when I go to production when there is a need to fix bugs in the released version(s) without having to put all the latest code into it.

Even without branching commits are a good way to save the latest known good state I can easily go back to if things didn't work out.

Re:How Dwarf Fortress is built by AnIdiotOnTheNet on Thursday July 29, 2021 @04:24PM (#28001031)
That's a lot of commandline I don't normally have to bother with. And if I'm not living in the commandline then I only end up running git when I reach some milestone I want to back up... which I can do just as easily with 7zip without installing anything I don't already have, and I can copy archives to my NAS without having to set up some remote repo.

You can try and convince me until you're blue in the face dude, but I've tried it and I just don't like it. End of story.

Re:How Dwarf Fortress is built by p1necone on Thursday July 29, 2021 @07:52PM (#28002946)
You don't have to use the command line, most code editors have built in UI for this, especially when you're only using these basic git features.
Re:How Dwarf Fortress is built by AnIdiotOnTheNet on Thursday July 29, 2021 @08:05PM (#28003033)
I just use Notepad++. I like to keep my development environment simple.
Re:How Dwarf Fortress is built by p1necone on Thursday July 29, 2021 @07:50PM (#28002938)
When I'm hacking away on a personal project a huge amount of value in git (probably moreso than any other feature) just comes from having "what's in the repo" and "what I've changed today" (uncommitted changes) visible as diffs.
Re:How Dwarf Fortress is built by burnt_toast on Thursday July 29, 2021 @01:54PM (#27999352)
Personally, I started using git for my projects after I accidentally deleted a good chunk of source code and my closest backup was several weeks old.
Re:How Dwarf Fortress is built by GordonS on Thursday July 29, 2021 @03:51PM (#28000626)
The exact same thing happened to me, and I kicked myself hard for it. At the time I used source control at work (TFS and SVN; git wasn't yet ubiquitous), so I didn't really have an excuse.

I've used source control for all personal projects since, and it's in no way a burden. In fact, there have been another couple of instances since the first, where I would have lost a bunch of work without it.

Re:How Dwarf Fortress is built by ornornor on Friday July 30, 2021 @02:35AM (#28005095)
How? It’s very hard to completely lose code in git. Did you know about the reflog?