
POPO
TP
The Neon Prime · 26 Apr 202626 April 2026 · 1 min read
Git Commands
Create a patch (unified diff)
From your repo, save the diff of uncommitted changes: git diff > my-changes.patch
Include staged changes too: git diff --cached > staged.patch
Everything (staged + unstaged): git diff HEAD > all-local.patch
Plain unified diff (what git diff produces): git apply my-changes.patch
Set Project Level Username and Email
git config user.email “name@company.com” git config user.name “Name”
Tags:nono
