Initial push does not add all files
I have a library with around 60 files, all with .gs extensions. My initial push only pushed 26 to bitbucket.
Any further push or pull gave an already up to date message.
Changing the extension in options to '.js' and pushed again another 23 files were added, but I don't have any files with .js extensions?
Thanks for the report, will take some time to look at this. To make sure, did you set some ignore pattern in the config tab? And if it's possible, please list up those file names, that will be a great help for me to debug.
Hi,
Thanks for the quick response. There were no patterns. Out of curiosity I did change to .js extensions and it did try to push other adds, but there are no .js as all are .gs. I changed back to .gs and push returned no changes. I also tried adding comments to a couple of the scripts which had not changed and again they didn’t push.
Regards Pat
Cheery bye!
On 21 Nov 2017, at 01:00, Ke Xu [email protected] wrote:
Thanks for the report, will take some time to look at this. To make sure, did you set some ignore pattern in the config tab? And if it's possible, please list up those file names, that will be a great help for me to debug.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I'm seeing a similar thing. It's only pushing 15 out of 19 .gs files. If I manually create the files in Github it then tries to get rid of them if I do a push, so it can't seem to see them in the script editor.
I've attached a list. The assistant can't see guides.gs, hotels.gs, transport.gs or travelPlan.gs.
I tried pushing them as .js, but the same ones get ignored.
My workaround was to create a new file and copy the contents in from the ignored file.

@andrewroberts have you checked about the known issue of #18 ?
if you have a method with the same name as the filename(eg: guides.gs contains a method guides), the extension can not see it due to the GAS RPC call.
@leonhartX Thanks, that was it. Will have to keep that one in mind!
@pxbaker so is this the same reason with your issue?