From f53dc4cf9927f2b98a24581bc74085ba515ab2bc Mon Sep 17 00:00:00 2001 From: zhouyu Date: Tue, 7 Jan 2025 10:26:53 -0800 Subject: [PATCH] ignore history file --- .gitignore | 4 +++- .irb_history | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 .irb_history diff --git a/.gitignore b/.gitignore index 2b53d9d..9094bf9 100644 --- a/.gitignore +++ b/.gitignore @@ -26,8 +26,10 @@ config/master.key # these should all be checked in to normalize the environment: # Gemfile.lock, .ruby-version, .ruby-gemset -# Ignore Byebug command history file. +# Ignore command history file. .byebug_history +.irb_history + # Ignore node_modules node_modules/ diff --git a/.irb_history b/.irb_history deleted file mode 100644 index c18ba97..0000000 --- a/.irb_history +++ /dev/null @@ -1,5 +0,0 @@ -puts IPSocket.getaddress(Socket.gethostname) -exit -require 'socket' -IPSocket.getaddress(Socket.gethostname) -exit