From: Patrick Boatner Date: Tue, 22 Jan 2019 19:20:47 +0000 (-0600) Subject: Update Ruby.ignore to ignore .byebug_history file X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dfce3fda4361c7cacdf4596562d7f5acff10998a;p=gitignore.git 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 --- 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