gas-github icon indicating copy to clipboard operation
gas-github copied to clipboard

Push/Pull not working - get undefined error in GAS

Open bouncingjack opened this issue 7 years ago • 4 comments

I am using tokens to authenticate. I've activated both repo and gyst scopes.

Created a repo on GitHub, initialized there (added a file). I can see the repo and master branch in the extension but either push or pull gets a red error with nothing but 'undefined'.

image

bouncingjack avatar Oct 30 '18 17:10 bouncingjack

I have exactly the same problem with the same message. Everything was working perfectly until three or four days ago.

jstorck avatar Nov 09 '18 20:11 jstorck

Did anyone find the solution?

ThallyssonKlein avatar May 05 '20 23:05 ThallyssonKlein

I managed to solve it as follows:

I tried to use the extension with a repository that I started empty, with no branches or commits, so that same error appeared. So I went to Github and created a README and Branch Master to have at least one commit and then it worked!

ThallyssonKlein avatar May 05 '20 23:05 ThallyssonKlein

I usually see this when I have multiple scripts open. I now always refresh the script before I push/pull it.

andrewroberts avatar May 06 '20 07:05 andrewroberts