Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions help/how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,11 @@ If your sketch files are already tracked in a git repository, there are few thin

1. Open your repo in Kactus to generate the JSON representation of your sketch files
2. Commit the generated JSON directories
2. Untrack sketch files. In most cases, this can be done with git by running: `git rm --cached *.sketch`
3. Tell git to [ignore](/help/glossary/#ignore) sketch files by adding `*.sketch` to your repo's `.gitignore` file (create it if it doesn't exist)
3. Untrack sketch files
- In most cases, this can be done with git by running: `git rm --cached *.sketch`
4. Tell git to [ignore](/help/glossary/#ignore) sketch files by adding `*.sketch` to your repo's `.gitignore` file
- This can be done from within Kactus ("Repository" > "Repository Settings" > "Ignored Files")
5. Add (or modify) your repository's `.gitattributes` file to include `* text=auto` ([more details](https://git-scm.com/docs/gitattributes#_end_of_line_conversion))

> *Note:* When you create a new repository with Kactus, it is automatically configured to [ignore](/help/glossary/#ignore) sketch files.
> *Note:* When you create a new repository with Kactus, it is preconfigured with these settings