Pin your project to a branch
branches
// what it does
Writes the branch (and database) into a .pscale.yml in the current directory, so later commands in this repo default to it — no more repeating the database and branch on every invocation. --create makes the branch on the fly if it doesn't exist.
// shell
$ pscale branch switch add-users-table --database mydb$ pscale branch switch new-feature --database mydb --create// gotcha
The pin lives in the directory you ran it in; teammates get it too if you commit .pscale.yml. Great for repo-scoped defaults, surprising if you forget it's there and wonder why commands target an old feature branch.