Documentation → Working with the site → Project files and Git
Project files and Git
On this page
Project files
Where to find: Settings → Project Files
On the left is the site's folder and file tree, and on the right is where you can view and edit the selected file. This section becomes available after the site is created.
| Button | What does it do? |
|---|---|
| File | Creates a new empty file in the current folder. |
| Folder | Creates a new folder. |
| Download | Uploads a file from your computer to the current folder—for example, photos or documents. |
| Download | Saves the entire project as a single ZIP archive. |
| Save | Writes changes to the open file. |
| Restart | Saves edits to the project history and restarts the site for the changes to take effect. |
How to make edits manually
- Find the file in the tree on the left and click on it.
- Edit the content on the right side of the screen.
- Click Save.
- Click "Relaunch" and check the site in preview.
Restrictions
- The editor opens text files of reasonable size; images, archives, and very large files cannot be edited—they can only be uploaded and downloaded.
- You can upload files of the following permitted types: images, pages, styles, scripts, documents.
- The project root folder cannot be deleted.
- You don't need to touch the site's service folders (environment, database, access settings) - the site may stop launching.
Where to put your pictures
The easiest way to avoid manually searching for the right folder is to attach files directly in the chat (see Attach a File ) and specify where to place them. The assistant will automatically place them in the correct location and insert them into the pages.
Git repository
Where to find it: Settings → Git Repository
This section is for programmers. It allows you to copy a project to your computer, edit it in your favorite editor, and send your changes back to the website. After each submission, the website is updated and restarted automatically.
Connection
- Click "Connect Repository." The platform will provide the repository address, login, and access token.
- Save your token. It replaces your password: Git will ask for your login and token the first time you access it. You only have one token per account and it works across all your projects—keep it as safe as you would your password.
- Copy the first connection commands shown in the section and run them on your machine.
- Submit the changes using a regular
git push. In response, git will display lines about the site restart.
git pull before submitting your changes, otherwise the submission will be rejected. Service files—the environment, the site database, the settings file, and the logs—are not versioned and will not be overwritten by your changes.Access control
- Reissue the token if it could have been leaked. The old token will no longer work in all your projects, and it will have to be replaced in all copies of the project.
- Disable access — completely disables Git work. Website revision history is preserved, and the panel continues to function as usual.