Git Integration
FuzzyIDE ships with a complete Git client, so everyday source control never requires leaving Unity. It runs your installed git executable, so everything it does is plain Git and stays compatible with any other tool you use.
Opening the Git Window
- Menu:
Window > Fuzzy Logic Labs > Fuzzy IDE > Git Integration - IDE toolbar: Click the Git button (see Toolbar). Its tooltip shows the current branch and the number of changes (and conflicted files, if any).
- Gutter popup: Click a change marker in the editor gutter and choose Open Git Window.
The Header Bar
The top of the window has three segments:
Current Repository
Click it to open the repository menu:
- Reveal in File Explorer: Open the repository root.
- Pull Strategy:
Merge,Rebase, orFast-forward only. This is used for every pull. - Auto Fetch:
Off, or every5,15, or30minutes in the background. - Remotes: For each remote: Fetch, Copy URL, Change URL…, Rename… (remote-tracking branches and upstream settings are renamed too), and Remove… (nothing is deleted on the server). Use Add Remote… to connect another remote.
- View on GitHub: Shown when the remote is a GitHub repository.
Current Branch
Click it to open the branch popover (see Branches).
Sync Button
The sync button always shows the next useful action:
| State | Button | What it does |
|---|---|---|
| Up to date | Fetch origin (with last fetch time) | git fetch |
| Remote has new commits | Pull origin (↓N) | Pull using your pull strategy |
| You have local commits | Push origin (↑N) | git push |
| Branch is not on the remote | Publish branch | git push -u and set the upstream |
| No remote configured | Publish repository | Paste the URL of an empty repository (e.g. a new GitHub repo without a README); the branch is pushed to it as origin |
Press F5 or Ctrl+R inside the Git window to refresh the status.
Changes Tab
The Changes tab (its title shows the number of changed files) lists files in sections:
- Merge Conflicts – only shown while conflicts exist.
- Staged Changes – what the next commit will contain.
- Changes – modified tracked files.
- Untracked Files – new files Git doesn’t know yet.
Each section header has bulk actions (Stage All, Unstage All, Discard All, Delete All Untracked Files, Mark All as Resolved). Each file row has inline buttons for stage +, unstage −, discard ↺, and delete ✕.
Right-click a file for more: Stage / Unstage, Discard Changes…, Delete File…, Open in IDE, Reveal in Project, Reveal in Explorer, and Copy Relative Path.
Select a file to see its diff on the right. Open in Editor opens it in the FuzzyIDE code editor.
Committing
- Write a commit message in the commit box.
- Click Commit to
<branch>, or press Ctrl+Enter in the message field. - Or click Commit & Push to push right after committing. On an unpublished branch, it becomes Commit & Publish.
If nothing is staged, FuzzyIDE offers to Stage All & Commit. Check Amend previous commit to rewrite the last commit instead (the button changes to Amend Commit).
Branches
The branch popover has two tabs: Branches and Pull Requests.
Branches tab
Branches are grouped into Default Branch, Recent Branches, Other Branches, and Remote Branches. Type in the filter box to search. Each branch shows whether it is local (not published), gone (its upstream was deleted on the remote), or which upstream it tracks.
Click a branch to check it out. If you have uncommitted changes that would be overwritten, FuzzyIDE asks whether to Bring my changes to the new branch or Leave on <current> (they are stashed and can be restored from the Stashes tab).
Right-click a branch for:
- Checkout
- Merge into
<current>… / Rebase<current>onto this… - New Branch From Here…
- Rename…
- Publish Branch
- Delete… (warns if the branch is not merged) and Delete on Remote…
- Create Pull Request on GitHub
- Copy Branch Name
Creating a branch
Click Create Branch Here to open the branch drawer, type a name and press Enter (or click Create Branch). In the drawer:
- Based on: Choose the start point (HEAD or any branch).
- Publish to remote after creating: Push the new branch immediately (the choice is remembered).
Branch names are validated as you type.
Pull Requests tab
Shows a shortcut to Create Pull Request on GitHub for the current branch and View Open Pull Requests ↗. If the branch isn’t published yet, a Publish branch button appears first.
Detached HEAD
When HEAD is detached (for example after checking out a commit), the branch segment shows no branch and the popover offers Create Branch Here, so commits you make don’t end up on no branch. Unpublished branches show not published, and branches whose remote was deleted show upstream gone.
History Tab
The History tab lists commits grouped by date (Today, Yesterday, month). Each row shows the message, author, relative time, and short hash. Use the search box to filter by message, author, or hash.
Select a commit to see the full hash, author and e-mail, date, message, and the list of Changed Files. Select a file to view its diff, or click Open in Editor.
Stashes Tab
- Stash Changes: Save your uncommitted work with an optional message.
- For each saved stash: Apply (keeps it in the list), Pop (applies and removes it), or Drop (deletes it).
Merge, Rebase & Conflict Resolution
While a merge, rebase, cherry-pick, or revert is in progress, a banner at the top shows the operation with Continue, Skip Commit (rebase only), and Abort buttons. Continue is disabled until all conflicts are resolved.
Conflicted files appear in the Merge Conflicts section. For each file you can:
- Edit it to remove the conflict markers, then click ✓ Mark as resolved.
- Use the row buttons or right-click and choose Keep
<your side>or Use<incoming side>to take one version entirely. During a rebase FuzzyIDE labels the sides correctly (Git swaps “ours” and “theirs” when rebasing). - When one side deleted the file, the options become Accept deletion from ….
Errors & Notifications
Results appear as toasts at the bottom of the window. Common Git errors are translated into plain language with a one-click action – for example Publish branch when the branch has no upstream, Pull when a push is rejected because the remote is ahead, or Show conflicts after a failed merge.
Git never opens an interactive prompt or editor from FuzzyIDE, and long-running commands time out instead of hanging Unity. Authentication uses your system’s Git credential manager.
Git in the Code Editor
When Git integration is enabled, the code editor shows changes against HEAD:
- Gutter markers: Added, modified, and deleted lines are marked next to the line numbers. Click a marker to see the original (HEAD) text or the deleted lines, with an Open Git Window button.
- Minimap markers: Changes are also marked on the minimap and the scrollbar overview ruler.
- File tree badges: The explorer marks modified, added, and untracked files and folders.
- Status bar: The current branch is shown at the bottom of the IDE window (see Status Bar).
Marker colors can be changed in the theme (GitAdded, GitModified, GitDeleted).
Git & Fuzzy Notes
[[commit:abc1234]]in a note links to a commit.- Insert today’s commits (Fuzzy Notes command palette) adds a list of today’s commits on the current branch to the note.
- Notes templates can use
{{branch}}for the current branch name.
See Notes ⇄ Unity & Code for more.