]> source.dussan.org Git - gitignore.git/commitdiff
Update Ruby.ignore to ignore .byebug_history file 2938/head
authorPatrick Boatner <patrickboatner@gmail.com>
Tue, 22 Jan 2019 19:20:47 +0000 (13:20 -0600)
committerGitHub <noreply@github.com>
Tue, 22 Jan 2019 19:20:47 +0000 (13:20 -0600)
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

index 5e1422c9c3f1ddaae47b5b1b597bc80748611993..969669658583a4fb641a08f1614d876d6562092b 100644 (file)
@@ -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