🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.programming
14 messages
14 total messages Started by Anton Antimo Tue, 10 Nov 2026 21:26
git is hurting my productivity
#15
Author: Anton Antimo
Date: Tue, 10 Nov 2026 21:26
21 lines
2252 bytes
Pretty much all my life I've been working alone [1].  Working alone it
matters little whether I commit often or not.  It turns out I don't like
to commit just because I wrote some new function.  I don't think git
should be used as some kind of backup system, although it is.  I prefer
to make commits that contain integral new additions to the software.  I
like a history that's organized.  As a result, I sometimes rewrite
history to fix some of these mistakes I make.  I know enough about it to
really clean things up and rewrite the history---it's okay because I'm
working alone.  But then this week I spend three days cleaning things
up.  That's no good, man.  What for?  Nobody is watching my repository.
I'm just wasting my time.  I'm even going to collapse this entire
repository into a single commit very soon out of spite.  There's no
chance I'm ever using any previous version.  I should just go back to
life without version control unless I'm working with somebody else.  If
I ever want a backup, I can just ``cp -pR v1 v2''.

(*) Footnotes

[1] When I used git in companies, people just used it as a method for
uploading code somewhere anyway, so it was mostly useless as a version
control system.
Re: git is hurting my productivity
#16
Author: 🇵🇱Jacek Marcin Jaworski🇵🇱
Date: Wed, 11 Nov 2026 01:15
37 lines
2870 bytes
W dniu 10.11.2026 o 22:26, Anton Antimo pisze:
> But then this week I spend three days cleaning things
> up.  That's no good, man.  What for?  Nobody is watching my repository.

That is pure nonsense for me. In Git you can easy create "working 
branch" for each of your task. Before merge you can "rebase" with master 
branch (in the case there were commits or merge in to master in the 
middle time). Quote:

> git checkout feature-branch
> git rebase master

, source: "Programista" no. 4/2025/119, art. under title "Repozytorium 
Bez Chaosu", page 7.

Then you can easily "squash" all commits in your "working branch". In 
order to open interactive session, Quote:

> git rebase -i HEAD~4

, source: ibidem, but page 8.

Then you can merge your "working branch" as single commit.

As you can see this require complete 0 (literally "zero") overhead, but 
require little discipline with branch creation and preparation for merge 
to the master branch.

NOTE: I DO NOT CHECKED ABOVE IN PRACTISE, BECAUSE FOR NOW I AM 
UNEMPLOYED, BUT I LEARNED IT FROM "PROGRAMISTA" MAGAZINE (IBIDEM).

-- 
Z totaliztycznym salutem!
Jacek Marcin Jaworski,  Pruszcz Gd., woj. Pomorskie, Polska 🇵🇱, UE 🇪🇺;
Pryw. s. WWW: <https://energokod.gda.pl>; Pryw. tel.: +48-609-170-742;
Netykieta:                  <https://energokod.gda.pl/Netykieta.html>.
Re: git is hurting my productivity
#17
Author: 🇵🇱Jacek Marcin Jaworski🇵🇱
Date: Wed, 11 Nov 2026 01:29
12 lines
1979 bytes
W dniu 11.11.2026 o 02:15, 🇵🇱Jacek Marcin Jaworski🇵🇱 pisze:
> git rebase -i HEAD~4

This command select last 4 commits and interactively allow you select 
which one of them should be squashed.

-- 
Z totaliztycznym salutem!
Jacek Marcin Jaworski,  Pruszcz Gd., woj. Pomorskie, Polska 🇵🇱, UE 🇪🇺;
Pryw. s. WWW: <https://energokod.gda.pl>; Pryw. tel.: +48-609-170-742;
Netykieta:                  <https://energokod.gda.pl/Netykieta.html>.
Re: git is boosting my productivity
#18
Author: Lawrence D’Oliveiro
Date: Wed, 11 Nov 2026 02:13
39 lines
2572 bytes
On Tue, 10 Nov 2026 18:26:19 -0300, Anton Antimo wrote:

> Pretty much all my life I've been working alone [1].

So do I.

> Working alone it matters little whether I commit often or not.

I commit when it makes sense, not when it doesn’t.

> It turns out I don't like to commit just because I wrote some new
> function.

Commits should consist of a group of changes that make some kind of
cohesive sense.

It is quite common to work on a number of things in a single coding
session, and then go back and group those changes into multiple
commits. Sometimes you end up with a commit that might contain a
version of some file that never actually physically existed in that
form on disk at any point. That, too, is not unusual.

> I don't think git should be used as some kind of backup system,
> although it is.

It’s only a “backup” in the sense of “this didn’t work, I need to go
back to something that does”.

> I like a history that's organized. As a result, I sometimes rewrite
> history to fix some of these mistakes I make.

Nothing surprising, lots of people work that way.

> I know enough about it to really clean things up and rewrite the
> history---it's okay because I'm working alone.

Actually, it makes no difference whether you work alone or not. Just
remember to avoid rebasing already-published branches -- if you want
to avoid the ire of your co-workers. ;)
Re: git is boosting my productivity
#19
Author: Beej Jorgensen
Date: Wed, 11 Nov 2026 17:38
13 lines
1591 bytes
In article <11d0j0p$2ma7m$1@dont-email.me>,
Lawrence DÿOliveiro  <ldo@nz.invalid> wrote:
>It's only a "backup" in the sense of "this didn't work, I need to go
>back to something that does".

And a clone is another type of "backup".

And, addressing the OP's point, I think it's a valid backup, as well. If
one of my laptops explodes or is stolen, I have three other ways to get
my repo back. I'll lose my working tree, but I commit a lot.

-- 
Brian "Beej Jorgensen" Hall | beej@beej.us
Re: git is hurting my productivity
#20
Author: Beej Jorgensen
Date: Wed, 11 Nov 2026 17:45
21 lines
2024 bytes
In article <87bj7wgyys.fsf@safunu.org>, Anton Antimo  <anton@safunu.org> wrote:
>Working alone it matters little whether I commit often or not.  It
>turns out I don't like to commit just because I wrote some new
>function.

With respect, it sounds like it *does* matter whether you commit often
or not, at least to you. :)

I mostly work solo, too. I have three computers I frequently work on,
and I use Git to keep them in sync. (Disclaimer: this is for a bunch of
markdown documentation, though, not code.) I commit early and often, and
don't care how clean the graph is. pull.rebase is true everywhere, so
the history is still linear. But it's full of typo fixes and things like
that.

It just doesn't matter--I'm the only one working on it. It's pretty much
the with my code projects. If I haven't pushed, I'll flatten out stupid
bug fixes, but if I have pushed, oh well! Releases get tagged.

-- 
Brian "Beej Jorgensen" Hall | beej@beej.us
Re: git is boosting my productivity
#21
Author: Dan Purgert
Date: Thu, 12 Nov 2026 01:14
19 lines
1768 bytes
On 2026-11-11, Lawrence D’Oliveiro wrote:
> On Tue, 10 Nov 2026 18:26:19 -0300, Anton Antimo wrote:
>
>> Pretty much all my life I've been working alone [1].
>
> So do I.
>
>> Working alone it matters little whether I commit often or not.
>
> I commit when it makes sense, not when it doesn’t.
>
>> It turns out I don't like to commit just because I wrote some new
>> function.
>
> Commits should consist of a group of changes that make some kind of
> cohesive sense.

I find it helpful too for "I'm not sure this is going to work" type
changes, in the sense of "no, that didn't work, go back...".
Re: git is boosting my productivity
#22
Author: Lawrence D’Oliveiro
Date: Thu, 12 Nov 2026 03:44
14 lines
1795 bytes
On Thu, 12 Nov 2026 01:14:31 -0000 (UTC), Dan Purgert wrote:

> On 2026-11-11, Lawrence D’Oliveiro wrote:
>>
>> Commits should consist of a group of changes that make some kind of
>> cohesive sense.
>
> I find it helpful too for "I'm not sure this is going to work" type
> changes, in the sense of "no, that didn't work, go back...".

Absolutely. The thing with Git is, it gives you the freedom to take
risks, because you know you’ve still got the last known good versions
to fall back to. Create throwaway branches by all means, because you
can indeed throw them away.
Re: git is hurting my productivity
#24
Author: 🇵🇱Jacek Marcin Jaworski🇵🇱
Date: Thu, 12 Nov 2026 11:18
10 lines
1872 bytes
It seems to be troll-post, because open post author does not answer to 
any our response. It is logical, because git is brilliant tool, and do 
amazing job every day.

-- 
Z totaliztycznym salutem!
Jacek Marcin Jaworski,  Pruszcz Gd., woj. Pomorskie, Polska 🇵🇱, UE 🇪🇺;
Pryw. s. WWW: <https://energokod.gda.pl>; Pryw. tel.: +48-609-170-742;
Netykieta:                  <https://energokod.gda.pl/Netykieta.html>.
Re: git is boosting my productivity
#26
Author: Anton Antimo
Date: Mon, 16 Nov 2026 20:15
25 lines
2242 bytes
Beej Jorgensen <beej@beej.us> writes:

> In article <11d0j0p$2ma7m$1@dont-email.me>,
> Lawrence DÿOliveiro  <ldo@nz.invalid> wrote:
>>It's only a "backup" in the sense of "this didn't work, I need to go
>>back to something that does".
>
> And a clone is another type of "backup".
>
> And, addressing the OP's point, I think it's a valid backup, as well. If
> one of my laptops explodes or is stolen, I have three other ways to get
> my repo back. I'll lose my working tree, but I commit a lot.

Beej!  God, I'm a fan of yours.  Your Beej's Guide to Network
Programming was very important to me---I was reading you back in 2002.
I did replace you later, though, with W. Richard Stevens' UNIX Network
Programming.

Yeah---it's a backup and it feels good, but it seems to be taking a lot
of my precious time.  I think I'm going to commit a lot less from now
on.

Anyway, so good to see you here!  May the USENET get populated once
again with people like you.  The Internet is a cool place with you
around!  Thank you for writing so much!
Re: git is boosting my productivity
#27
Author: Lawrence D’Oliveiro
Date: Mon, 16 Nov 2026 23:01
7 lines
1487 bytes
On Mon, 16 Nov 2026 17:15:04 -0300, Anton Antimo wrote:

> Yeah---it's a backup and it feels good, but it seems to be taking a
> lot of my precious time.

Backups are a nuisance ... until the moment you need one and find you
didn’t take one.
Re: git is hurting my productivity
#28
Author: Anton Antimo
Date: Tue, 17 Nov 2026 10:14
44 lines
3039 bytes
Beej Jorgensen <beej@beej.us> writes:

> In article <87bj7wgyys.fsf@safunu.org>, Anton Antimo  <anton@safunu.org> wrote:
>>Working alone it matters little whether I commit often or not.  It
>>turns out I don't like to commit just because I wrote some new
>>function.
>
> With respect, it sounds like it *does* matter whether you commit often
> or not, at least to you. :)
>
> I mostly work solo, too. I have three computers I frequently work on,
> and I use Git to keep them in sync.

Why do you use so many computers?

> (Disclaimer: this is for a bunch of markdown documentation, though,
> not code.) 

I was hoping you'd say literate programming Knuth-style.  You are
someone who could really enjoy literate programming Knuth-style.  As
Tony Hoare once said---Knuth now asks us not only to be a good
programmer, but a good writer.

As it turns out, the latter is even harder for programmers, sadly.  It
seems engineers really don't care for producing books like Knuth does
when it comes to their programs.  I confess---even Knuth's own CWEB
output isn't too cool either.  He doesn't even seem to put a nice page
with an introduction to the software itself (on the few sample small
programs I've seen from him).

I use NOWEB by Norman Ramsey.  I write on the GNU EMACS using polymode.
This set-up is really great.  (I produce LaTeX output.)

> I commit early and often, and don't care how clean the graph
> is. pull.rebase is true everywhere, so the history is still
> linear. But it's full of typo fixes and things like that.
>
> It just doesn't matter--I'm the only one working on it. It's pretty much
> the with my code projects. If I haven't pushed, I'll flatten out stupid
> bug fixes, but if I have pushed, oh well! Releases get tagged.

What I've been doing in practice is to rewrite the entire history so
many times.  I'll keep doing that, but I'll commit a lot less often from
now on.
Re: git is boosting my productivity
#29
Author: Beej Jorgensen
Date: Wed, 18 Nov 2026 02:22
17 lines
1689 bytes
In article <87a4n8bkjb.fsf@safunu.org>, Anton Antimo  <anton@safunu.org> wrote:
>I did replace you later, though, with W. Richard Stevens' UNIX Network
>Programming.

If I'm going to be replaced by someone, I could do worse than the
well-revered W. Richard Stevens. :)

>May the USENET get populated once again with people like you.

I feel like after Google turned it into a wasteland then abandoned it,
the grass has started growing back up in the cracks.

Cheers,
-Beej

-- 
Brian "Beej Jorgensen" Hall | beej@beej.us
USENET, mailing lists, NNTP servers (Was: Re: git is boosting my productivity)
#30
Author: Anton Antimo
Date: Thu, 19 Nov 2026 17:36
33 lines
2697 bytes
Beej Jorgensen <beej@beej.us> writes:

> In article <87a4n8bkjb.fsf@safunu.org>, Anton Antimo  <anton@safunu.org> wrote:

[...]

>>May the USENET get populated once again with people like you.
>
> I feel like after Google turned it into a wasteland then abandoned it,
> the grass has started growing back up in the cracks.

Good description.  I'm not too optimistic that the experts will come
back, but I'd be happy to find them back here.  Trolls and cranks may be
a problem, though.  Perhaps the Internet has grown so large that we are
now in the phase of semi-open communities---those we can ban someone
from pestering.

I see the experts still use mailing lists, for example.

I used to love mailing lists, but NNTP is so much easier to handle: the
server itself already organizes discussions in separate ``mailboxes''.
I don't need to set-up filtering in my inbox, nor subscribe and
unsubscribe myself when my interests peak in a subject.

Because the experts seem to find mailing lists okay, I think they could
enjoy a trivial-to-install NNTP server with support for an easy-to-use
authentication scheme (just to keep bad people out).

Public mailing lists are always archived on the web.  So this
easy-to-use NNTP server should easily provide (possibly read-only) web
view of the archive.  Experts also tweet and blog on the web.  They
could use this web archive to reference discussions they hold on a daily
basis.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads