Creates a directory named .scratch in your current working directory which will be ignored by Git. Useful for keeping around miscellaneous files that you don't want to be tracked/shared.
Some things you might want to keep in a .scratch directory:
These are just a handful of things I've personally used .scratch directories for. The basic idea is that if you have some piece of text you'd like to keep around for later, but you don't know where to put it, just put it in .scratch so that you can move on and stay focused.
bash
cargo install mkscratch
I'll probably come up with some way to install prebuilt binaries later, so you don't have to have Rust/Cargo installed.
➜ pwd
/Projects/example/
➜ ls -a
. .. .git .github .gitignore Cargo.lock Cargo.toml README.md src target
➜ mkscratch
Created /Projects/example/.scratch
➜ ls -a
. .. .git .github .gitignore .scratch Cargo.lock Cargo.toml README.md src target
Now you have a .scratch directory to keep scratch files in!