Gemfile and Gemfile.lock is generated after jekyll new, both of which should exclude in _config.yml. Otherwise, they can be downloaded from site.
Exclude Gemfile in _config.yml template
Can you explain the need to explicitly exclude Gemfile and Gemfile.lock ? Gemfile.lock is generated only after bundler runs.
@ashmaroli Gemfile and Gemfile.lock will be served in develop mode, and be generated to destination. However, they are used by develop, not what we really want to generate to our site.
@jekyllbot: merge +minor
Update history to reflect merge of #5293 [ci skip]
i got the tag wrong, but ¯_(ツ)_/¯
Yeah my first few times with it I got it wrong too. It's whatever IMO.