Skip to content

Commit

Permalink
Merge pull request #5 from lovablelabs/only-one-github-account
Browse files Browse the repository at this point in the history
Clarify that only a single GitHub login can be connected to your GPT Engineer account.
  • Loading branch information
Gullesnuffs authored Oct 17, 2024
2 parents 1a213b8 + b013601 commit 906f3bb
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/features/git-integration.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
# :simple-github: GitHub integration
# :simple-github: GitHub Integration

To make it easier for developers to work together with the AI on projects, gptengineer.app backs all projects with a git repository and lets you push commits directly to the repository.

To make it easier for developers to work together with the AI on projects, gptengineer.app backs all projects with a git repository, and lets you push commits yourself directly to the repository.

In order to push commits to the GitHub your project, and gptengineer.app will automatically pull them in and update the project. This allows you to make changes yourself, without asking the AI.
In order to push commits to GitHub, your project and gptengineer.app will automatically pull them in and update the project. This allows you to make changes yourself, without asking the AI.

## Connecting a project to your GitHub account

Before pushing your first commit, you will need to connect your GitHub account to the project. You can do this by navigating to the GitHub -> Create Repository -> Add another account. You will then be redirected to GitHub to authorize the connection.
Before pushing your first commit, you will need to connect your GitHub account to the project. You can do this by navigating to GitHub -> Connect to GitHub. You will then be redirected to GitHub to authorize the connection.

You can choose to either granting access to (1) all repositories, or (2) specific repositories. Both options will let GPT Engineer create repositories in your GitHub account or organization.

You can pick any option between granting access to (1) all repositories, or (2) specific repositories, as both will authorise is to create repositories in your GitHub account.
Note that you can only connect one GitHub login to your GPT Engineer account, but you can create repositories in any of the organizations you choose to install the GPT Engineer app in.

<video autoplay loop src="/assets/connect-to-github.mp4"> video </video>

Please note that you will need to have admin access if you are trying to create a repository in an organization.
Please note that you will need admin access if you are trying to create a repository in an organization.

## Making changes to a project through commits
## Making changes to a project through commits

Once you have connected your GitHub account to your project, you can view the source code by navigating to the GitHub -> View on GitHub.
Once you have connected your GitHub account to your project, you can view the source code by navigating to GitHub -> View on GitHub.

Any change you make and push to the repository will be automatically reflected in the gptengineer.app.
Any change you make and push to the repository will be automatically reflected in gptengineer.app.

You commit changes directly in GitHub Codespaces or clone the repo to use your preferred IDE.
You can commit changes directly in GitHub Codespaces or clone the repo to use your preferred IDE.

<video autoplay loop src="/assets/sync-commits.mp4"> video </video>

0 comments on commit 906f3bb

Please sign in to comment.