# Pro: Git Pull does not pull external changes (after editing directly in the repo via Claude code)

**URL:** <https://community.n8n.io/t/pro-git-pull-does-not-pull-external-changes-after-editing-directly-in-the-repo-via-claude-code/306566>\
**Category:** Questions\
**Tags:** bug:confirmed\
**Created:** [August 7, 2026, 7:09am UTC](https://community.n8n.io/t/pro-git-pull-does-not-pull-external-changes-after-editing-directly-in-the-repo-via-claude-code/306566 "2026-08-07T07:09:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexm](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/alexm/32/31633_2.png) [@alexm](https://community.n8n.io/u/alexm)\
**Post date:** [August 7, 2026, 7:09am UTC](https://community.n8n.io/t/pro-git-pull-does-not-pull-external-changes-after-editing-directly-in-the-repo-via-claude-code/306566/1 "2026-08-07T07:09:49Z")

</div>

## Describe the problem/error/question

We have pro, workflow is in git in the main branch. I made some external changes on the branch via Claude code and now try to get them into our n8n staging instance.  
I hit pull but it says “No workflow changes to pull from Git”.

## What is the error message (if any)?

“No workflow changes to pull from Git”

## Information on your n8n setup

- **n8n version:** 2.32.7
- **Database (default: SQLite): Postgres**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main): queue / worker**
- **Running n8n via (Docker, npm, n8n cloud, desktop app): docker**
- **Operating system: Ubuntu**

Any Ideas how I can debug that furthjer?

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [August 7, 2026, 7:10am UTC](https://community.n8n.io/t/pro-git-pull-does-not-pull-external-changes-after-editing-directly-in-the-repo-via-claude-code/306566/2 "2026-08-07T07:10:19Z")

</div>

Hey @alexm, while you wait for a response, here are some things that might help:

> **Suggested resources**
>
> _Automatically matched to your question._
> 
> **Docs:**
> 
> - [Tutorial: Create environments with source control](https://docs.n8n.io/administer/use-source-control-and-environments/tutorial-create-environments-with-source-control)
> - [Set up source control](https://docs.n8n.io/administer/use-source-control-and-environments/set-up-source-control)
> - [Work with environments](https://docs.n8n.io/administer/use-source-control-and-environments/work-with-environments)
> 
> **Forum:**
> 
> - [How to use source code control, for example, Git with n8n](https://community.n8n.io/t/148154)

@jabbson - you’ve helped with similar issues before, can you take a look?

_Automatically suggested by n8n’s community bot. It’s a pilot - [please share feedback here](https://community.n8n.io/t/pilot-forum-helper-bot/304669)._

---

<div class="post-metadata">

**Author:** ![anon71933009](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@anon71933009](https://community.n8n.io/u/anon71933009)\
**Post date:** [August 7, 2026, 7:16am UTC](https://community.n8n.io/t/pro-git-pull-does-not-pull-external-changes-after-editing-directly-in-the-repo-via-claude-code/306566/3 "2026-08-07T07:16:25Z")

</div>

Hi @alexm

The “No workflow changes to pull from Git” error happens because n8n expects a highly specific file structure, exact formatting, and a naming convention that external tools like Claude Code rarely generate correctly by default. If your files deviate even slightly from what n8n’s Source Control expects, n8n will completely ignore them during a pull operation.

To fix this issue, go through the following checklist to ensure your Git changes match n8n’s requirements.

1. **Verify the File Structure and Naming** :

n8n looks for workflows in a specific directory at the root of your repository.

- **Folder Location** : Workflows must be placed inside a folder named exactly `workflows/` at the root of your Git repository.
- **File Naming** : The file must be named using its unique ID followed by the `.json` extension (e.g., `workflows/12345.json` or `workflows/aBc12D3e.json`).

1. **JSON Schema** : If Claude Code modified the workflow JSON, it may have introduced schema changes that n8n rejects or doesn’t recognize.

Ensure `id`, `name`, `nodes`, and `connections` are present at the root level of the JSON. If Claude wrapped the code inside an extra block or missed the `id` field, n8n will fail to read it.

1. **Match the Subdirectory Settings** :

If you configured a custom subdirectory in your n8n Source Control settings (e.g., `n8n-config/`), your workflows must reside inside `<your-custom-folder>/workflows/`. Ensure your target staging environment is configured to read from the exact subdirectory where Claude Code pushed the changes.

---

<div class="post-metadata">

**Author:** ![kjooleng](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/kjooleng/32/184045_2.png) [@kjooleng](https://community.n8n.io/u/kjooleng)\
**Post date:** [August 7, 2026, 7:32am UTC](https://community.n8n.io/t/pro-git-pull-does-not-pull-external-changes-after-editing-directly-in-the-repo-via-claude-code/306566/4 "2026-08-07T07:32:07Z")

</div>

Hi @alexm

If your n8n instance is configured to pull from `main`, but your Claude Code changes are sitting on a different branch (e.g., `feature-branch`), n8n will check `main`, see that `main` hasn’t changed, and report that there is nothing to pull.

**How to debug:**

- **Check n8n Git Settings:** Go to your n8n settings and verify which branch is specified in the Git configuration.
- **Verify the Remote:** Check your Git provider (GitHub/GitLab) to see if the changes exist on the branch n8n is watching.
- **The Fix:** You likely need to merge your branch into `main` (or whatever branch n8n is tracking) before n8n can “see” them via the Pull command.

Since you are running n8n via **Docker** , n8n’s access to the Git repository depends entirely on how your volumes are mounted.

**How to debug:**

- **Check `docker-compose.yml` or `docker run` command:** Ensure the directory containing your Git repository is correctly mounted as a volume into the n8n container.
- **Verify inside the container:** Run this command to see what the n8n container actually sees:

```auto
docker exec -it <n8n-container-name> ls -la /path/to/your/git/repo

```

_(Replace `/path/to/your/git/repo` with the path inside the container where your workflows are stored)._

- **Check Git status inside Docker:**

```auto
docker exec -it <n8n-container-name> git -C /path/to/your/git/repo log -n 5

```

If the logs inside the container don’t show your recent commits, then n8n is looking at a different version of the files or a different directory entirely.

---

<div class="post-metadata">

**Author:** ![appunitsai](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/appunitsai/32/160585_2.png) [@appunitsai](https://community.n8n.io/u/appunitsai)\
**Post date:** [August 7, 2026, 7:40am UTC](https://community.n8n.io/t/pro-git-pull-does-not-pull-external-changes-after-editing-directly-in-the-repo-via-claude-code/306566/5 "2026-08-07T07:40:55Z")

</div>

Hi @alexm,

You likely need to push your local changes to Git before pulling.

Let’s first verify the remote branch has the new commits (from the container, if nothing shown then your commits is not in the remote branch):  
`git fetch origin`  
`git log --oneline HEAD..origin/main`

Check what commit n8n is currently on (if hashes are the same then n8n is in the latest commit):  
`git rev-parse HEAD`  
`git rev-parse origin/main`

Inspect the repo status (if there are local changes n8n may avoid automatic pulling)  
`git status`  
`git branch -vv`  
`git remote -v`

Confirm Claude code has pushed to the current branch

Look at the n8n logs while pulling:  
`docker logs -f <n8n-container>`  
or if are using docker compose:  
`docker compose logs -f n8n`

Thanks

---

<div class="post-metadata">

**Author:** ![alexm](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/alexm/32/31633_2.png) [@alexm](https://community.n8n.io/u/alexm)\
**Post date:** [August 7, 2026, 7:46am UTC](https://community.n8n.io/t/pro-git-pull-does-not-pull-external-changes-after-editing-directly-in-the-repo-via-claude-code/306566/6 "2026-08-07T07:46:34Z")

</div>

Thanks for all your answers.

branch is the same .. main everywhere

I checked in the container via git log - the changes did arrive but are not reflected in the node.

Claude code also did not destroy the structure - especially I would have expected and error message and not just “no changes”. What claude did not do was bumping the workflow version ID.

I modified that **versionId** and now it works.

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [August 7, 2026, 8:00am UTC](https://community.n8n.io/t/pro-git-pull-does-not-pull-external-changes-after-editing-directly-in-the-repo-via-claude-code/306566/7 "2026-08-07T08:00:34Z")

</div>

Thanks for letting us know about this, We have created `LIGO-950` as the internal dev ticket to look into it.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [August 14, 2026, 8:00am UTC](https://community.n8n.io/t/pro-git-pull-does-not-pull-external-changes-after-editing-directly-in-the-repo-via-claude-code/306566/8 "2026-08-14T08:00:48Z")

</div>

Closed on August 14, 2026, 8:00am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
