[DONE] Can we see a git diff in Anvil?

I’m wondering if there’s any way to see the equivalent of git diff from a previous commit to the current code state. I know I can do it by cloning locally, just wondering if there is any way to do it via the Anvil UI.

The main usefulness of this for me would be remembering what work I’ve done since a previous commit, so I can keep track of what I’m doing (and compose a sensible commit message). I probably want to be able to diff from an arbitrary previous commit, not just the most recent commit, since the most recent commit might be an auto-commit and there might be no changes since then.

Is it currently possible at all?

Thanks!

3 Likes

Currently this is only possible when you clone your app locally and look at the diff.

It might be worth turning this into a feature request.

Hi @claresloggett,

Thanks for posting this, I’ve added it to our list.

Thanks @ryan and @stucork !

This is now live, as part of the new (beta) Anvil Editor!

Check it out:

Find out more: Anvil Docs | Version Control and Collaboration

Read the launch post: