Using git
LaCorTeX edits ordinary files and never runs git, so your workflow stays yours.
There is no git panel in LaCorTeX. Use the terminal or client you already use, in the same folder, at the same time.
1What LaCorTeX does with git
Nothing. It does not stage, commit, branch, pull or push, and it does not read your remotes. Saved edits, including the agent’s, are ordinary changes to ordinary files, so git status and git diff show them as usual.
2What to ignore
LaCorTeX adds one folder to a project, .lacortex/. It holds a small project id and settings. Your chats are not in it; they stay in the app’s own data directory on your machine. We suggest ignoring it, so two checkouts do not carry the same project id.
# .gitignore.lacortex/*.aux*.log*.out*.bbl*.blg*.synctex.gz
3Pulling while the app is open
LaCorTeX watches the folder. When a pull or a branch switch changes a file you have no unsaved edits in, the open tab updates. Save before you pull, so git and the editor are looking at the same text.
4A safety net for agent turns
The agent writes to files as it works. A commit before a large request costs seconds and gives you a clean point to return to, on top of the review controls in the app.
git add -A && git commit -m "before restructuring section 3"git diff # after the turn: everything it changed