So I'm on a team of 2-3 developers who will be primarily working with Apps Script connected to Google Sheets.
I've looked into various tools/workflows but there seems to be no elegant way for two people to work on the same Apps Script file at the same time:
- If two people are both editing the same file on the online editor and save their changes, only one set of changes is carried over with the other being overwritten. This makes sense but I was hoping for a Google docs-like experience when multiple editors were working on the same file.
- Developing locally and version controlling with
git
is also not a great option as to iteratively make changes and test those changes requires it to be on the cloud (because of our Google Sheets dependency). You can not make changes locally and test to see the effect of those changes without doing aclasp push
call each time and then running the code in the native Apps Script GUI on the cloud. - I've read the Apps Script documentation pretty thoroughly (deployments, versionsing, collaboration, etc.) but nothing stands out as a elegant solution to this problem (seems to summarize "Use a shared Google Drive" and "Use
git
"...).
I'd be curious as to whether anyone has had experience working on a team environment with App Script and what workflows ended up being used. How do teams have 2+ people work on the same file while also allowing rapid iteration without the friction of needing to call clasp pull/push
every iteration? Or is this unavoidable?