Ruby: Ignore .irb_history file

This file is created locally by IRB to store the last 1,000 commands

It doesn't make sense to keep this history in the repository.

https://ruby-doc.org/stdlib-2.4.0/libdoc/irb/rdoc/IRB.html#module-IRB-label-History
This commit is contained in:
Ollie Bennett 2022-04-01 20:54:32 +01:00 committed by GitHub
parent d0b80a4699
commit 6cbc88a4f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,9 @@
# Used by dotenv library to load environment variables. # Used by dotenv library to load environment variables.
# .env # .env
# Ignore Byebug command history file. # Ignore Byebug/IRB command history files.
.byebug_history .byebug_history
.irb_history
## Specific to RubyMotion: ## Specific to RubyMotion:
.dat* .dat*