Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a git init step to bridgetown new command #18

Merged
merged 3 commits into from
Apr 23, 2020

Conversation

jaredcwhite
Copy link
Member

I'm surprised this wasn't already happening, so this PR adds a git init step after creating the new site folder. If the command fails (i.e. git isn't present on the system), it doesn't throw an error. Thanks to Rails' PR history for highlighting that potential gotcha. 😄

Fixes #16

@jaredcwhite jaredcwhite added the bug Something isn't working label Apr 23, 2020
@jaredcwhite
Copy link
Member Author

LGTM 👍

@jaredcwhite jaredcwhite merged commit ceccae4 into master Apr 23, 2020
@jaredcwhite jaredcwhite deleted the git-init-for-new-sites branch April 23, 2020 16:18
jaredcwhite added a commit that referenced this pull request Apr 23, 2020
* Add permalink support to Prototype Pages

* Add inspiration attribution to changelog

* Oops, fix typo

* Add Jared Moody to contributors list

* Update CHANGELOG.md

* Update documention regarding plugins folder

* More plugins docs tweaks

* Add a git init step to bridgetown new command (#18)

* Add a git init step to bridgetown new command

* Fix formatting errors

* Update test to pass with Kramdown 2.2.1

* Refactoring Paginate for better performance

* typo fix

* Complete pagination hooks and caching perf tuning

* Code cleanup

* update changelog

* Formatting improvements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bridgetown new command should create .git folder
1 participant