Git

Under the hood

The hard parts

Maybe useful?

🎗

Combining the current commit with an earlier commit where target commit < most recent commit:

git commit --fixup=<commit hash>
git rebase -i --autosquash main

(alternately, use an identifier from the target message)

git commit --fixup :/<some-identifying-text-from-target-commit-message>

Version control more generally…

Jujutsu docs

Omit .DS_Store from git

Add this line to .gitignore:

**/.DS_Store

… and to remove the file after the first push to remote:

git rm --cached .DS_Store