Skip to the content
mantichora_/docs

Projects and git

A project owns its connections, its panel layout and its query history, so work for one client never sits in the tree of another. A console can also be a SQL file kept under git.

Projects

The title bar shows Project: and the one you are in; it opens the list of projects and Projects, where New project, Rename, Delete and Open are. The default project cannot be deleted: something has to own a connection. A connection’s form says which project it belongs to under Project of this connection.

Opening another project closes the connections of this one, and an open transaction is rolled back; the window says how many before it does.

SQL files under git

When a console is a file in a folder kept by git, the path above the console marks it: not committed, not in git or deleted. Click the mark, What changed, and commit it, to see the file’s changes against its last commit, write a Commit message and press Commit this file, which stages and commits that one file and nothing else.

That is all of git there is here: no branches, no pull and no push. Use your own git for those. The window runs the git it finds on PATH; a folder git does not trust yet can be allowed with let git read this folder.