|
1 | 1 | # Source control |
2 | 2 |
|
3 | | -T3 Code integrates with GitHub, GitLab, Forgejo, Gitea, Bitbucket, Azure DevOps, and GitCafe to clone |
4 | | -and publish repositories, create pull requests, and review changes. |
| 3 | +T3 Code integrates with GitHub, GitLab, Forgejo, Gitea, Bitbucket, Azure DevOps, GitCafe, and Cursor |
| 4 | +Origin to clone and publish repositories, create pull requests, and review changes. |
5 | 5 |
|
6 | 6 | ## Review turn changes |
7 | 7 |
|
@@ -129,6 +129,20 @@ sent to `git.cafe`; `CAFE_TOKEN` follows `CAFE_HOST` if you set it. Repositories |
129 | 129 | Line comments are not available for GitCafe pull requests yet. |
130 | 130 | Merging a stack lands it through GitCafe, and updating a branch restacks the layers above it. |
131 | 131 |
|
| 132 | +### Cursor Origin |
| 133 | + |
| 134 | +Install the [Origin CLI](https://cursor.com/docs/origin/cli) and sign in. Signing in also sets up Git |
| 135 | +credentials for `origin.cursor.com`: |
| 136 | + |
| 137 | +```bash |
| 138 | +curl -fsSL https://downloads.cursor.com/origin/install.sh | sh |
| 139 | +origin auth login |
| 140 | +``` |
| 141 | + |
| 142 | +If cloning or pushing asks for a username, run `origin auth setup-git` to point Git at the CLI's |
| 143 | +credentials again. Origin repositories use HTTPS and are published privately. Repositories mirrored |
| 144 | +from GitHub keep their pull requests on GitHub; open those from the GitHub remote. |
| 145 | + |
132 | 146 | ## Start, clone, or publish a project |
133 | 147 |
|
134 | 148 | To start from nothing, choose **New project** in the command palette (`Cmd/Ctrl+K`), or |
@@ -261,9 +275,9 @@ running count. A tick belongs to the pull request rather than to a commit, so sc |
261 | 275 | single commit keeps them. A file pushed to after you cleared it comes back marked **Changed**. |
262 | 276 |
|
263 | 277 | On GitHub these are GitHub's own viewed marks, so a review carries between T3 Code and github.com |
264 | | -in either direction. Forgejo, GitLab, Bitbucket, and Azure DevOps expose no record T3 Code can read, so the |
265 | | -server you are connected to keeps them instead: they follow you across the apps connected to that |
266 | | -server, but the host's own site will not show them, and the count reads **viewed in T3 Code**. |
| 278 | +in either direction. Forgejo, GitLab, Bitbucket, Azure DevOps, and Cursor Origin expose no record |
| 279 | +T3 Code can read, so the server you are connected to keeps them instead: they follow you across the |
| 280 | +apps connected to that server, but the host's own site will not show them, and the count reads **viewed in T3 Code**. |
267 | 281 |
|
268 | 282 | On mobile, open a changed file and mark it viewed from its header. Viewed files collapse, |
269 | 283 | and their marks follow the same rules as on web and desktop. |
|
0 commit comments