Studio › Manual › Source control

Source Control

Source Control keeps every version of your game with Git, so you can look back, undo a bad day, try ideas on a branch and share the project. Open it with the Git tab at the top of the sidebar, File > Source Control > Show Source Control (⌃⇧⌘G), or the branch name in the status bar.

The Git tab: branch, commit message, changes grouped by asset, and history
The Git tab: branch, commit message, changes grouped by asset, and history
  • No repository yet? Press Start Using Git (or File > Source Control > Start Using Git). Studio makes a repository in the project folder, branch main, with a .gitignore made for GameMaker (builds, caches and the Mac's own files stay out). Nothing is uploaded.
  • Changes lists what changed since the last commit, one row per asset (a sprite, a room, an object), not per file. See "Changes and staging".
  • Commit: write what changed and press Commit (⌃⇧⌘C). See "Commits and history".
  • Branches, Stash and Remote (pull and push) are in their own topics.

Studio uses its own built-in Git (libgit2): you don't need Git installed, and a repository made in Studio works with any other Git tool.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.