From dfce3fda4361c7cacdf4596562d7f5acff10998a Mon Sep 17 00:00:00 2001 From: Patrick Boatner Date: Tue, 22 Jan 2019 13:20:47 -0600 Subject: [PATCH] Update Ruby.ignore to ignore .byebug_history file The file `.byebug_history` is generated when using the popular https://github.com/deivid-rodriguez/byebug gem for debugging in Ruby. It contains a list of commands the user has run while debugging, which should not be committed to the repository. The author of the gem agrees with this here: https://github.com/deivid-rodriguez/byebug/issues/204#issuecomment-178238302 I have copied this from the Rails gitignore here: https://github.com/github/gitignore/blob/f908e51bcf38ae5ede449c55189a7b25d8c507cc/Rails.gitignore#L45 --- Ruby.gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Ruby.gitignore b/Ruby.gitignore index 5e1422c9..96966965 100644 --- a/Ruby.gitignore +++ b/Ruby.gitignore @@ -13,6 +13,9 @@ # Used by dotenv library to load environment variables. # .env +# Ignore Byebug command history file. +.byebug_history + ## Specific to RubyMotion: .dat* .repl_history