Possible to code locally and push to glitch with git?

I solved it in the following way:

  1. go to the Glitch console and change the denyCurrentBranch parameter
    git config receive.denyCurrentBranch updateInstead

  2. Then you can push without any issues and undesirable consequences.

  3. Note that you still need to refresh your Glitch project manually in the console, using the refresh command.

14 Likes