I'd like to use clasp to develop Apps Script projects locally. Clasp has a built-in clone method which fetches a project by ID and pulls the code into a local directory. This also creates a .clasp.json file with some project settings.
The problem is that my code is already in a Git repo, so I'm wondering what the best method of getting the code locally would be. Is there a difference between these two methods?
- Clone with
gitand then edit.clasp.jsonto point to the correct project id - Clone with
claspand thengit inita repo and manually set the remote URL
...or does it not matter?