# Editing a converted Framer project without losing your changes

URL: https://frametonext.com/guides/keep-edits-when-reconverting · Guide · After converting · Updated 2026-11-18

> Where to put your own code in a converted Framer project, and a simple git workflow to bring in a newer conversion without overwriting your edits.

**Short answer:** Put your own code in the user/ folder (user/site.tsx and user/styles.css), keep the project in git, and bring in a newer conversion on a branch that starts from the first conversion, then merge. Git keeps your edits, takes new generated code elsewhere, and shows conflicts instead of overwriting.

Once your site is a Next.js project, it is yours to change. You might still update the design in Framer for a while and want those changes too. Here is how to keep both.

## Where to put your changes

Every project has a `user/` folder. `user/site.tsx` wraps the generated site and is the place for providers, analytics, extra layout or new behaviour. `user/styles.css` loads after the generated styles, so your rules win without editing generated CSS.

You can edit any generated file too: it is ordinary React and CSS. The `user/` folder just keeps the most common changes separate, which makes merges easier.

## Keep the project in git

Terminal:

```
cd my-site
git init
git add -A
git commit -m "Converted from Framer"
```

## Bringing in a newer conversion

When the Framer site changes, convert it again and download the new project. Then bring it in on its own branch, starting from the original conversion, and merge:

Terminal:

```
git switch -c framer-update <first-conversion-commit>
# replace the files with the new download, keeping .git
git add -A
git commit -m "New conversion from Framer"
git switch main
git merge framer-update
```

Git keeps your edits, takes the new generated code where you did not change anything, and shows a conflict where both changed the same lines, so nothing is silently overwritten.

> The FrameToNext engine also has a conflict-aware regenerate step that keeps your edits and stages clashing files in a separate conflicts folder instead of overwriting them. The git workflow above does the same job with tools you already have.

## Tips

- Commit before every merge, so you can always go back.
- Keep design changes in Framer and code changes in the project for as long as you use both.
- Read the new conversion report: a part that became a placeholder before may be converted now.

---

FrameToNext (Framer to Next.js converter) · https://frametonext.com/ · All pages: https://frametonext.com/llms.txt · Start free: https://frametonext.com/sign-up
