Elektrine lite

← Feed

@masukomi@connectified.com

Post #3176946

2026-06-07 19:18 UTC

@hazelnoot was complaining about #git stash being a “…black hole of forgotten ideas cleaverly disguised as a useful feature to trap foxes with ADHD guised as a useful feature to trap foxes with ADHD ​ :neofox_angry:” Thanks to their vent I've now added my gits script (shorter than typing git status) will now expose the black hole's contents. (i had no idea i had 6 stashes in this repo) note: It will list the untracked files if there are only a handful of them. https://github.com/masukomi/masuconfigs/blob/master/bin/gits

Replies (2)

  • @masukomi@connectified.com 2026-06-07 19:22

    @hazelnoot@enby.life oh, was just going over the code again. I'd forgotten that it'll also show you the files that it's "assuming" are unchanged via `git update-index --assume-unchanged path/to/something/with/changes/you/want/to/pretend/don't/exist.txt` I have a git alias for that so i just `git assume path/to/file` I find it really helpful. #git

    Open ##3623438

  • @drscriptt@oldbytes.space 2026-06-07 20:42

    @masukomi@connectified.com @hazelnoot@enby.life Interesting take on this. I can’t say as I disagree. I personally like the idea of separate work trees against a common repo. Each random idea being its own work tree. That way they are very visible and I don’t need to stash for urgent things. I can work on the urgent issue in a different work tree, possibly specific to the urgent issue.

    Open ##3623443