Keep your tools out of Git

Git is a program that keeps a history of a project’s files. When an agent makes one of your tools, its folder goes into enjoy-apps in your project, and Git saves it with everything else, so anyone who copies the project from Git gets your tools too. If your tools are for you alone, keep them out. See What are commits, branches, and pushing?

Before you start

  • Use the computer app, in a project on that computer.

Steps

  1. Open Tools

    Select Tools in your project’s tabs, the row of icons under your projects at the top left of the window. If a tool is open, select Back to your tools at the left of its bar.

  2. Open the enjoy-apps menu

    Select enjoy-apps at the top of Your tools, beside the list, before Gallery and New tool.

    A project's Tools section with the enjoy-apps menu open, listing Open in Files, Show in Finder, and Keep tools out of Git. Highlighted: enjoy-apps.A project's Tools section with the enjoy-apps menu open, listing Open in Files, Show in Finder, and Keep tools out of Git. Highlighted: enjoy-apps.
  3. Check Keep tools out of Git

    Enjoy adds the line /enjoy-apps/ to the .gitignore file in your project folder, under # Enjoy apps, so Git no longer saves your tools or their changes. The menu stays open, so you can see the result.

    The enjoy-apps menu with Keep tools out of Git checked. Below it are Adds /enjoy-apps/ to .gitignore and a line saying tools already in Git stay there until they're removed from it. Highlighted: Keep tools out of Git.The enjoy-apps menu with Keep tools out of Git checked. Below it are Adds /enjoy-apps/ to .gitignore and a line saying tools already in Git stay there until they're removed from it. Highlighted: Keep tools out of Git.
  4. Clear it to save tools in Git again

    Choose Keep tools out of Git once more. Enjoy removes the two lines it added and leaves the rest of the file as it was.

Good to know

  • Tools already in Git stay there. If your tools were saved in Git before, the menu says “Tools already in Git stay there until they’re removed from it.” To take them out while keeping them on your computer, ask an agent to remove the enjoy-apps folder from Git but keep its files.
  • If another rule in your project already keeps enjoy-apps out of Git, the box is checked and greyed out, and the menu says “Git already ignores enjoy-apps through another rule.”
  • Enjoy changes .gitignore only when you use this box.
  • .gitignore is one of your project’s files. Once you save it in Git, the choice applies to everyone who gets the project from Git.
  • Open in Files opens the enjoy-apps folder in Files. It’s greyed out until the project has a tool.
  • Show in Finder shows the folder on your computer. On Windows it’s Show in File Explorer, and on Linux Show in file manager. If the project has no enjoy-apps folder yet, Enjoy makes it first.
  • Each tool’s packages and saved data never go into Git either way: the enjoy-apps folder has a .gitignore of its own for node_modules, .venv, __pycache__, and .data.
  • Keep passwords and other secrets out of your tools either way. See Keep passwords and API keys safe.

If something goes wrong

“The project’s .gitignore isn’t a plain file, so Enjoy leaves it alone.”

It comes after “Couldn’t change .gitignore:”. Your project’s .gitignore is a link to another file. Add or remove the line /enjoy-apps/ in that file yourself, or ask an agent to.

A grey line starts with “Git couldn’t check the enjoy-apps folder”

Git didn’t answer, and the rest of the line says why. Keep tools out of Git still works, but the menu can’t say whether tools are already in Git.

“Couldn’t check the enjoy-apps folder”

Enjoy couldn’t read the folder or the .gitignore file. Close the menu and open it again to retry.

“Unable to show the enjoy-apps folder”

It appears at the top of Tools with the reason. Check that the project’s folder is still where Enjoy expects it.

See also

  1. 01What are your tools?Your tools · 4 min
  2. 02What are commits, branches, and pushing?Branches & changes · 3 min
  3. 03Save your changes with a commitBranches & changes · 2 min
  4. 04Keep passwords and API keys safeWorking well with Enjoy · 3 min
  5. 05Open, pin, and stop a toolYour tools · 8 min

Did this help?

Service

If Enjoy doesn’t work as this manual describes, a person will help.