Git Bridge
JointTex exposes every project over Smart HTTP Git so you can work in your local editor, run custom build scripts, or integrate local CI checks alongside real-time web collaborators.
Git Bridge is available on JointTex Education, Plus, and Pro plans (based on your own account plan).
Repository URL and authentication
Section titled “Repository URL and authentication”- Open Account settings → Access tokens on JointTex and create a Git token (separate from MCP tokens).
- In your project’s Activity Bar, open External connections → Git and copy the repository URL:
https://jointtex.com/git/<project-id>- Authenticate over HTTP Basic using any non-empty username (for example
x-access-tokenorgit) and your Git token as the password:
git clone https://x-access-token:<git-token>@jointtex.com/git/<project-id>For day-to-day work, store the token in your OS credential helper (git config --global credential.helper ...) rather than embedding it in .git/config.
Branch and merge semantics
Section titled “Branch and merge semantics”JointTex’s Git Bridge is designed to cooperate safely with live browser editing:
mainis the only branch: Pushing other branches or attempting to deletemainis rejected by the server’s pre-receive hook.- Role permissions: Every project member (including viewers) can
cloneandpull; only owners and editors canpush. - Automatic non-overlapping merges: If web collaborators edited files while your local checkout was behind, pushing changes to disjoint file paths is merged automatically on the server.
- Explicit conflict rejection: If both your push and the live project modified the same file path, the push is rejected and the server prints the conflicting paths. Run
git pull, resolve the conflicts locally, and push again.
# Typical local sync loopgit pull --rebase# edit files locallygit add .git commit -m "Revise section 3 proofs"git push origin main