Skip to content

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).

  1. Open Account settings → Access tokens on JointTex and create a Git token (separate from MCP tokens).
  2. In your project’s Activity Bar, open External connections → Git and copy the repository URL:
https://jointtex.com/git/<project-id>
  1. Authenticate over HTTP Basic using any non-empty username (for example x-access-token or git) and your Git token as the password:
Terminal window
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.

JointTex’s Git Bridge is designed to cooperate safely with live browser editing:

  • main is the only branch: Pushing other branches or attempting to delete main is rejected by the server’s pre-receive hook.
  • Role permissions: Every project member (including viewers) can clone and pull; only owners and editors can push.
  • 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.
Terminal window
# Typical local sync loop
git pull --rebase
# edit files locally
git add .
git commit -m "Revise section 3 proofs"
git push origin main