I mean.. this kind of breaks down if you have more than one person on the team
Extremely Linear Git History
21–30 of 366 posts
Re: Extremely Linear Git History
#22Re: Extremely Linear Git History
#23Extremely Linear Git History...also known as SVN. Guess reinventing the wheel does get you to top HN.
Re: Extremely Linear Git History
#24Hah :D
Re: Extremely Linear Git History
#25> but it can also mean to only allow merges in one direction, from feature branches into main, never the other way around. It kind of depends on the project.
That sounds like the Mainline Model, championed by Perforce[0]. It's actually fairly sensible.
[0] https://www.perforce.com/video-tutorials/vcs/mainline-model-...
Re: Extremely Linear Git History
#26Earlier quoted context omitted.
That requires your programming language to identify files with modules, and with your system architecture to be extended by modules alone. This is an ideal case, of course.
I don't understand your comment. The method that I describe only requires that the programming language ignores unused files. As far as I know, all modern programming languages have this feature.
Re: Extremely Linear Git History
#27See also Lucky Commit [0], which uses various types of whitespace characters instead of a hash inside the commit, which makes it look more magical. I wonder about performance, though. Why is the author's method slower than the package I linked? [0]: https://github.com/not-an-aardvark/lucky-commit
I've been using githashcrash [1], but it's only running on the CPU, which is why it's a bit slower. :-)
Re: Extremely Linear Git History
#28Sadly if you use commit signing it's unfeasibly slow to do this :(