# HOW TO LOSE YOUR WORK: git project style

**URL:** https://discourse.nodered.org/t/how-to-lose-your-work-git-project-style/85135
**Category:** General
**Created:** [1 February 2024 21:12 UTC](https://discourse.nodered.org/t/how-to-lose-your-work-git-project-style/85135 "2024-02-01T21:12:04Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jsprenkle](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jsprenkle/32/81249_2.png) [@jsprenkle](https://discourse.nodered.org/u/jsprenkle)
#### Post date: [1 February 2024 21:12 UTC](https://discourse.nodered.org/t/how-to-lose-your-work-git-project-style/85135/1 "2024-02-01T21:12:04Z")

</div>

If you use the new Git?project BEWARE! Make sure you have backups.

After all the repeated nagging by the UI I decided to create a project last night.  
I created a project but quickly gave up because of the lack of documentation and non intuitive interface.

This afternoon I glanced at my home console to find it reset to the default ui-builder page.  
Opening the node-red control panel confirms it has completely removed all my local files.  
It didn't just overwrite the default files, it removed the svg's and images that I added.

Who thought it was a good idea that opening the control panel should do a silent deploy to production? I'm really struggling to avoid four letter words here.

How do I opt out of the node-red console auto updates?  
This update was ill thought out and botched.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [1 February 2024 22:27 UTC](https://discourse.nodered.org/t/how-to-lose-your-work-git-project-style/85135/2 "2024-02-01T22:27:49Z")

</div>

Hi @jsprenkle

The projects mode would only be enabled if you turned it on in your settings file.

If you disable it again and restart Node-RED, then it will go back to using the flows file in your `.node-red` directory which should be what you had before you tried creating the project

---

<div class="post-metadata">

### Author: ![jsprenkle](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jsprenkle/32/81249_2.png) [@jsprenkle](https://discourse.nodered.org/u/jsprenkle)
#### Post date: [1 February 2024 23:06 UTC](https://discourse.nodered.org/t/how-to-lose-your-work-git-project-style/85135/3 "2024-02-01T23:06:43Z")

</div>

Thank you.

---

<div class="post-metadata">

### Author: ![jsprenkle](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jsprenkle/32/81249_2.png) [@jsprenkle](https://discourse.nodered.org/u/jsprenkle)
#### Post date: [1 February 2024 23:19 UTC](https://discourse.nodered.org/t/how-to-lose-your-work-git-project-style/85135/4 "2024-02-01T23:19:16Z")

</div>

Instructions for reset:

Login to your node-red server.

For linux:  
sudo vi /home/you/.node-red/settings.js

Search for:

```auto
        projects: {
            /** To enable the Projects feature, set this value to true */
            enabled: false,
            workflow: {
                /** Set the default projects workflow mode.
                 * - manual - you must manually commit changes
                 * - auto - changes are automatically committed
                 * This can be overridden per-user from the 'Git config'
                 * section of 'User Settings' within the editor
                 */
                mode: "manual"
            }
        },

```

Change the "enabled" option and reboot

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [1 May 2024 23:19 UTC](https://discourse.nodered.org/t/how-to-lose-your-work-git-project-style/85135/5 "2024-05-01T23:19:29Z")

</div>

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