Error codes · Git

PULSE-GIT-002 The folder is not a git repository

What does this mean

The folder you selected for the task is not under git, the system that stores version history of files. Without it, Pulse cannot create a task in this folder.

Why does this happen

Pulse maintains each issue on its own git branch: the agent runs in a separate copy of the project, and you then look at the changes and decide what to accept. There are no branches in the folder where git is not installed. This is usually a new folder or project downloaded as an archive, not cloned.

In "More details" git writes not a git repository.

What to do

Select one of the options.

  • Run git in this folder. Check that there are no passwords, keys or large files in the folder, or write them in .gitignore. Then click “Create repository here.” Pulse will run git, create .gitignore, if you don’t have one (node_modules/, dist/, build/, out/, .env, .env.*, .DS_Store, Thumbs.db), and will save all other files in the folder as the first commit.
  • Select another folder. Click "Select another folder" and select a project folder where git already exists. If there are repositories within the selected folder, Pulse will prompt you to select one of them.
  • Work without a repository. In the new task window, select “Without repository” - the agent will receive a draft folder, it will not touch your files.

There are no buttons - open git in the terminal, in the project folder:

git init
git add -A
git commit -m "First commit"

When to write to support

Write to us if there is git in the folder (git status in the terminal it answers without an error), but Pulse still says that this is not a repository. Click “Send report” in the error card - a report form will open, where the code and details have already been entered, the secrets are hidden in them. Add which folder you chose and click “View and Send”: the window will show exactly what is left - check and click “Submit”. If the cloud is turned off, the button is called “View and save” - send the resulting file to us in any way.