Fixed an error that prevented Copilot-based features from working on Windows, and improved @-mention autocomplete to exclude users without a profile name when typing queries like "@null".
GitHub Desktop
GitHub's open-source Git and GitHub client for macOS and Windows.
Fixed a crash where truncated repository path text could enter an infinite re-render loop. Repositories no longer appear as missing when their linked worktree folder was deleted outside Desktop, and the app now falls back to the main worktree in such cases. Also fixed files disappearing from the Changes list after Desktop returns from the background, Copilot silently failing to generate commit messages on git errors, and Copilot sessions appearing in VS Code.
Middle-clicking a diff hunk gutter now works correctly, and invoking Desktop from the command line inside a worktree opens the existing repository with the worktree selected instead of prompting to add a new one. Copilot sessions from commit messages and conflict resolution now show up in VS Code, and a macOS git hooks issue with incorrect GIT_EXEC_PATH is fixed.
Manage multiple working directories of the same repository with Git worktree support, and resolve merge conflicts with Copilot. Users can now stop an ongoing Copilot commit message request.
Worktree list now correctly updates after renaming or deleting worktrees. Fixed toolbar space allocation when the worktree dropdown is hidden, and resolved error message display in the Preferences dialog.
Fixed a frozen state in the conflict dialog that required app restart, and a Copilot conflict resolution bug that overwrote file content outside conflicted regions.
A new setting enables Copilot for every conflict, with a nudge dialog after five manual resolutions, and a Changes tab shows a diff of Copilot's suggested resolution. Also added the ability to stop an ongoing Copilot commit message generation, and fixed Warp terminal detection on Windows.
Copilot can now help resolve merge conflicts, and git worktree support lets you manage multiple working directories of the same repository. Fixed screen reader announcements for list items on Windows, removed unnecessary Git LFS initialization prompts for non-LFS filters, and corrected a misleading pointer cursor in Accessibility preferences.
Items in lists such as branches and changed files are now properly announced by screen readers on Windows.
The "no newline at end of file" indicator is now visible as text in the diff view instead of requiring a tooltip hover. A descriptive error dialog now appears when restoring stashed changes fails due to conflicting changes in the working directory. Screen reader announcements for added and removed line counts in pull request previews are also fixed.
Added
- Add date, time, and number formatting preferences to the Appearance settings - #21836
Fixed
- Intermittent crash trying to load Copilot models
Fixed
- Skip branches checked out in linked worktrees during pruning - #8043. Thanks @KRRT7!
- Fix styling of buttons in the commit message area - #22075
- Fix rendering long lists of changed files - #21630
- Add syntax highlighting for .astro files - #21987. Thanks…
Fixed
- Skip branches checked out in linked worktrees during pruning - #8043. Thanks @KRRT7!
- Fix styling of buttons in the commit message area - #22075
- Fix rendering long lists of changed files - #21630
Improved
- Update Electron to version 42.0.1 - #22104