Handling anvil.yaml in a git workflow

So, an example workflow might be:

  • Create a copy of an app using the anvil clone link (call that new copy ‘dev-app’)
  • Create a local repository for the app using the git clone command
  • run git update-index --skip-worktree anvil.yaml in that local repository
  • get the git url for the dev-app and add it as a remote in the local repository using git remote add
  • Create branches, make changes, pull and push to both remotes as desired!
2 Likes