See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| # NOTE: When updating gems, the ENV var below will need to be _unset_, so bundler updates the correct lock file. | |
| # NOTE 2: The name 'Gemfile.dev' isn't important - it could be `dev_gems.rb` or anything else. | |
| # SETUP: | |
| # - Set the ENV var: BUNDLE_GEMFILE=Gemfile.dev in your app dir | |
| # - Add Gemfile.dev and Gemfile.dev.lock to your .gitignore (global or local) | |
| # - Copy the rest of this gist into Gemfile.dev (in your project root): | |
| # Copy real lock file to ensure it gets priority |
| # Using these pry gems -- copy to your Gemfile | |
| # group :development, :test do | |
| # gem 'awesome_print' # pretty print ruby objects | |
| # gem 'pry' # Console with powerful introspection capabilities | |
| # # pick either: | |
| # # using byebug, but has issues with Zeitwerk | |
| # gem 'pry-byebug' # Integrates pry with byebug | |
| # | |
| # # using default ruby debuggger | |
| # gem 'pry-stack_explorer' |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"