From a4306c6d4f1bcf2139fe23753ebe378706fd5190 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Wed, 13 Sep 2023 04:16:53 -0500 Subject: [PATCH] Commit the .git* files before the rest. --- .gitattributes | 7 +++++ .gitignore | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..31eeee0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ +# See https://git-scm.com/docs/gitattributes for more about git attribute files. + +# Mark the database schema as having been generated. +db/schema.rb linguist-generated + +# Mark any vendored files as having been vendored. +vendor/* linguist-vendored diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..99b5332 --- /dev/null +++ b/.gitignore @@ -0,0 +1,71 @@ +### NOTE: Direct copy of https://github.com/github/gitignore/blob/main/Rails.gitignore as of 20230913 + +*.rbc +capybara-*.html +.rspec +db/*.sqlite3 +db/*.sqlite3-journal +db/*.sqlite3-[0-9]* +public/system +coverage/ +spec/tmp +*.orig +rerun.txt +pickle-email-*.html + +# Ignore all logfiles and tempfiles. +log/* +tmp/* +!log/.keep +!tmp/.keep + +# TODO Comment out this rule if you are OK with secrets being uploaded to the repo +config/initializers/secret_token.rb +config/master.key + +# Only include if you have production secrets in this file, which is no longer a Rails default +# config/secrets.yml + +# dotenv, dotenv-rails +# TODO Comment out these rules if environment variables can be committed +.env +.env*.local + +## Environment normalization: +.bundle +vendor/bundle + +# these should all be checked in to normalize the environment: +# Gemfile.lock, .ruby-version, .ruby-gemset + +# unless supporting rvm < 1.11.0 or doing something fancy, ignore this: +.rvmrc + +# if using bower-rails ignore default bower_components path bower.json files +vendor/assets/bower_components +*.bowerrc +bower.json + +# Ignore pow environment settings +.powenv + +# Ignore Byebug command history file. +.byebug_history + +# Ignore node_modules +node_modules/ + +# Ignore precompiled javascript packs +public/packs +public/packs-test +public/assets + +# Ignore yarn files +yarn-error.log +yarn-debug.log* +.yarn-integrity + +# Ignore uploaded files in development +storage/* +!storage/.keep +public/uploads