I want to use git with Live


How can I use git and Live together? I know I can save the .als to github but I can't see the diffs. There's a ruby gem out there that tries to overcome this by converting the als to an xml file but it's cumbersome. ( https://forum.ableton.com/viewtopic.php?f=4&t=174938 )

Anypne got any other ways of dealing with this? Any other version control methods (apart from Saving As.. a lot).




andyrubio 4 years ago | 3 comments

7 answers

  • batman14
    5 answers
    7 votes received
    3 votes

    You got an option called "Save new version". It is better than GIT as Live can reimport assets between versions really easily with the browser. I advice you to avoid diff, because it is supposed to be for readable files and not musical assets. Creation is destruction. Use your ears not your eyes.

    4 years ago | 0 comments
  • blear
    2 answers
    5 votes received
    3 votes

    This is all very cool, but you don't need this to deal with compressed files in git, whether Ableton project files or not.  You simply have to have a .gitattributes file in the root of your git project with the following line in it:

    *.als diff=gzip

    This way, you can view diffs from different commits to .als files as textual diffs of XML files, and you can view log output similarly.

    What would be really useful, which I may try to add as a contribution to the project, despite my lack of skills with Mac Services, is to bind Command-S to an unadorned Save followed by a git commit with a generic "checkpoint save" message.  This effectively adds easy versioning to your Ableton projects and as long as you save regularly, you get some measure of recoverability in case you save something bogus and want to get back to a previous version.

    You might even add the option to perform a git push as well as the commit, assuming you are storing your git-enabled Ableton projects remotely.

    1 year ago | 1 comment
  • borayildizme
    2 answers
    4 votes received
    2 votes

    As an alternative you can try Splice;



    7 months ago | 0 comments
  • andyrubio
    2 answers
    2 votes received
    1 vote

    Cool. I can't find a 'Save new version' option in any of my menus - can you point me in th right direction? I'm on 9.0.1.

    4 years ago | 1 comment
  • 3Trillion
    1 answer
    1 vote received
    1 vote

    Good thread. Interested in this answer also!

    2 years ago | 0 comments
  • Bayley
    3 answers
    8 votes received
    1 vote

    An .als file is actually just compressed XML. All you need do is uncompress it to play nice with Git.

    For anyone on OS X that wants to use Live with Git, I have a GitHub project up which includes a few easy to use OS X services which completely automate this. If you bind to ⌘S you can effectively override Live's save command so that you always save an uncompressed (Git compatible) .als file which Live treats exactly the same as if it were compressed.



    2 years ago | 1 comment
  • mark-henry
    1 answer
    1 vote received
    1 vote

    I wrote a brief article on a workable solution:


    It almost works; you have to contend with differences in Ableton version, unstable XML, and merges don't always work or only partially work.

    1 year ago | 0 comments

You need to be logged in, have a Live license, and have a username set in your account to be able to answer questions.

Answers is a new product and we'd like to hear your wishes, problems or ideas.