I am using Windows 10 and am on Lab 5 of the Git Immersion tutorial, with Git Bash as my shell.
I've used echo 'puts "Hello, World"' > hello.rb
to create the hello.rb file per the following:
how to create a file with the cmd?
I am to change our hello program to take an argument from the command line. Change the file to be:
puts "Hello, #{ARGV.first}!"
I've thought of using Sublime Text to edit the file, but I feel compelled to use Git Bash. How could I edit the file in Git Bash?
Thanks!