Add .gitignore to theme template.
This commit is contained in:
parent
8ac5b03006
commit
ad94182b49
|
@ -82,6 +82,7 @@ class Jekyll::ThemeBuilder
|
|||
def initialize_git_repo
|
||||
Jekyll.logger.info "initialize", path.join(".git").to_s
|
||||
Dir.chdir(path.to_s) { `git init` }
|
||||
write_file(".gitignore", template("gitignore"))
|
||||
end
|
||||
|
||||
def user_name
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
.sass-cache
|
||||
_site
|
||||
Gemfile.lock
|
Loading…
Reference in New Issue