On Tuesday, 18 April 2017 at 17:58:32 UTC, WhatMeWorry wrote:
On Tuesday, 18 April 2017 at 15:15:47 UTC, Stanislav Blinov wrote:
On Tuesday, 18 April 2017 at 15:07:27 UTC, WhatMeWorry wrote:

When I try to upload these files to my new repo, GitHub (rightfully so) complains that I have too many files. Since I'm using sdl and not json, can I safely delete all the files that pertain to json? Can I do this some way at the command line?


You shouldn't upload files from the .dub directory, that's local build cache that shouldn't be published. You can simply add the .dub directory to your .gitignore file.

Thanks. That seems like an elegant solution. Sorry if that is documented somewhere. I never came across it or didn't understand it when I did.

If you create dub project by "dub init" command it automatically creates .gitignore file. Also github provides premade .gitignore files for many programming languages ("Add .gitignore" button on Create new repository). Those files are from https://github.com/github/gitignore repo.

Reply via email to