Skip to content

Instantly share code, notes, and snippets.

@mastazi
Created July 6, 2017 02:40
Show Gist options
  • Save mastazi/0b1865a3111ce34e5b32abd95bcd1c4f to your computer and use it in GitHub Desktop.
Save mastazi/0b1865a3111ce34e5b32abd95bcd1c4f to your computer and use it in GitHub Desktop.
// M4L .als files are just gzipped XMLs, so you can either have in git the uncompressed versions
// (just gunzip everything after saving and before add and commit, and in .gitignore add *.als),
// or
// you can have a .gitattributes file in the root of your git project with the following line in it:
*.als diff=gzip
// Now you can view diffs as textual diffs of XML files, and you can view log output similarly.
// source: https://www.ableton.com/answers/i-want-to-use-git-with-live (comment from user "blear")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment