Matt Jadud jadudm
jadudm pushed to main at jadudm/how-to-do-computer-things 2026-01-03 15:26:10 +00:00
cc5c13602f Add README.md
jadudm created branch main in jadudm/how-to-do-computer-things 2026-01-03 15:26:10 +00:00
jadudm closed issue jadudm/how-to-do-computer-things#13 2025-12-30 12:47:05 +00:00
How do I find all files that do *not* match a pattern?
jadudm commented on issue jadudm/how-to-do-computer-things#13 2025-12-30 12:47:05 +00:00
How do I find all files that do *not* match a pattern?

Use the -not with find.

find . -not -name "*.json"

I used this to count the number of images (roughly) in a Google Takeout:

find . -not -name "*.json" 
jadudm opened issue jadudm/how-to-do-computer-things#13 2025-12-30 12:47:01 +00:00
How do I find all files that do *not* match a pattern?
jadudm closed issue jadudm/how-to-do-computer-things#12 2025-12-30 12:46:47 +00:00
How do I manage multiple branches with git worktree in a git repository?
jadudm commented on issue jadudm/how-to-do-computer-things#12 2025-12-30 12:46:47 +00:00
How do I manage multiple branches with git worktree in a git repository?

Git worktrees are great for this:

Assuming that the repository is at <path>/main, do something like this:

git worktree add -b <branch_name> ../<folder_name> HEAD

This puts a…

jadudm opened issue jadudm/how-to-do-computer-things#12 2025-12-30 12:46:42 +00:00
How do I manage multiple branches with git worktree in a git repository?
jadudm closed issue jadudm/how-to-do-computer-things#11 2025-12-30 12:46:32 +00:00
How do I create a worktree from an existing remote branch?
jadudm commented on issue jadudm/how-to-do-computer-things#11 2025-12-30 12:46:32 +00:00
How do I create a worktree from an existing remote branch?

TL;DR: you probably wanted git worktree add ../BRANCH BRANCH

But, really, it looks like this is the best option:

git worktree add ../PATH --checkout BRANCH

I don't have a…

jadudm opened issue jadudm/how-to-do-computer-things#11 2025-12-30 12:46:25 +00:00
How do I create a worktree from an existing remote branch?
jadudm closed issue jadudm/how-to-do-computer-things#10 2025-12-30 12:46:15 +00:00
How do I disable git commit signing on a per-repository basis?
jadudm commented on issue jadudm/how-to-do-computer-things#10 2025-12-30 12:46:15 +00:00
How do I disable git commit signing on a per-repository basis?
git config --local commit.gpgsign false

source: https://stackoverflow.com/a/59712153

jadudm opened issue jadudm/how-to-do-computer-things#10 2025-12-30 12:46:11 +00:00
How do I disable git commit signing on a per-repository basis?
jadudm closed issue jadudm/how-to-do-computer-things#9 2025-12-30 12:46:02 +00:00
How do I fetch all branches?
jadudm commented on issue jadudm/how-to-do-computer-things#9 2025-12-30 12:46:02 +00:00
How do I fetch all branches?

This will want to be expanded over time. The short version might be:

git fetch --all
git pull --all

to just get the references, but it might be necessary to do:

git…
jadudm opened issue jadudm/how-to-do-computer-things#9 2025-12-30 12:45:58 +00:00
How do I fetch all branches?
jadudm closed issue jadudm/how-to-do-computer-things#8 2025-12-30 12:45:47 +00:00
What do I do about module collections errors with pipenv install?
jadudm commented on issue jadudm/how-to-do-computer-things#8 2025-12-30 12:45:46 +00:00
What do I do about module collections errors with pipenv install?

This worked:

remove pipenv if you have installed it using apt

sudo apt remove pipenv
install pipenv unsing pip
pip3 install pipenv

activate virtual environment

pytho…
jadudm opened issue jadudm/how-to-do-computer-things#8 2025-12-30 12:45:37 +00:00
What do I do about module collections errors with pipenv install?