dice.camp is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon server for RPG folks to hang out and talk. Not owned by a billionaire.

Administered by:

Server stats:

1.7K
active users

#git

38 posts32 participants4 posts today

Meet “Cthulhu” and “Katy Freeway”, two examples from our Git history that I picked for a discussion on what •not• to do.

We luckily have a very different mindset nowadays and monstrosities like these are a thing of the past 😅

Replied in thread

@fasterthanlime
Things that I really wish #git had (and IIUC #jj is good at this):
- an undo command that can undo any git commands including those whom destroyed uncommited state like `git restore uncommited/file`
- `git bisect --rebase-original-branch` or whatever that would make it easy to commit a fix after a bisect (generaly I want to amend the falty commit then rebase the original branch on top of it).
- `git commit --fixup-and-rebase` instead of manually having to do an interactive rebase

Someone that also works on a project I worked on ( and created) tried to do a quick one and close a pr with comments on from me, and blockers on the code review, open a new pr with the same changes (and a release tag) and quickly merge it in to main, since that new pr didn't have any blockers.

WTF. If you try to do that at any job, you would be fired.

#git#devops#wtf

#git #GameDev

Dreaming aloud. How can git & game dev cooperate?

In project, have path/to/bigfiles where the blend files (for eg) live.

In .gitattributes:
track *.blend -> path/to/bigfiles/

Use git as normal. All blend files become little text pointers to the path. (Like in LFS.)

Push etc. sends the little files, and then rsyncs the large files to the server.

So git as usual, but it also saves your big files via rsync *without* ever-growing file sizes on the server!

Any thoughts?

#git #lfs
I was told, a few days ago, that git lfs only saves space on my local drive but that the server (origin, i guess) grows full of file versions.

E.g i push 3d.blend, it's 10mb.
I edit it, push again, server now reports 20mb used. Then 30mb etc.

Is this the expected lfs behaviour? Can someone point me to where this is documented?

I'd much rather there be one 3d.blend file locally AND remotely. Is that even possible to do?

I don't think people realize this issue about lfs.

Linus Torvalds has proper motivated reasons for really disliking file systems without a case sensitivity.

Read this with me from the kernel lkml, regarding bcachefs.

Re: [GIT PULL] bcachefs fixes for 6.15-rc4 - Linus Torvalds
lore.kernel.org/lkml/CAHk-=wja

🖋️ #bash #sh #zsh #ksh #csh #tcsh #fish #git #Linux #lkml #POSIX #FOSS #100daysofCode #640DaysOfCode #coding #1024DaysOfCode #github #programming #Torvalds #filesystem

Sometimes I'm happy to tinker with #HomeLab stuff, and other times I just want it to work when I thought it'd be a quick job.

Related: If anyone knows why I'm getting a 500 error running git-http-backend in a #FreeBSD jail with #nginx that'd be great.

I've set up directory browsing as well, and that all works fine. Nginx logs show no errors. But cloning always results in a 500 response.

Dal momento che sono stufo delle minchiate dell bigtech a proposito dell'IA, ho deciso che tutto ciò che ho su #GitHub sarà trasferito su #Gitea , e questo grazie ai @devol che tengono in piedi *anche* questo servizio.
Approfitto per mostrare una schermata di #LazyGit , un client #git fantastico!

Code at work is stored in #SVN, with a highly irregular structure - no standard trunk/tags/branches, a lot of externals, a bespoke tool to do sparse checkouts. Nobody I spoke about it to likes it, but apparently it's just too entrenched into various workflows to easily migrate away from.

A lot of devs prefer #git over svn though. But because of the weird repo structure, they can't just use git svn. So the next best thing they (and I) came to is to just put it all in a local git repo - including the .svn folder. This adds a lot of overhead, sure, but it's the simplest way to get the amenities you're used to.

I came a little bit further, though. I have tried to write a script that would import a (subset of) svn history into this local git repo - by essentially parsing svn log --xml, then doing svn up && git commit on every revision, setting up authors, dates and messages nicely. It is slow, of course, but I ran it overnight. Feeling quite proud of myself now, being able to, e.g. use git blame fully locally.

Probably won't share the script here though, since it's tied to our specific repo quirks.

Pierre-Étienne Meunier and Florent Becker developed pijul [1], a modern version control system. I praised it in 2022 [2] and still use it for rust projects.

Tomorrow at Grazer Linuxtage #GLT25, I am going to present #pijul [3] in a 5-minute lightning talk and show which problem it solves (compared to git).

#SCM #VCS #git #rust

[1] pijul.org/
[2] lukas-prokop.at/articles/2022-
[3] lukas-prokop.at/talks/glt25-pi