Creating work files
Let's create a simple Hello, World! web page. This is a common first step when learning a new programming language or framework. It's a good way to get started with Git too. We will learn various Git commands while improving our simple page.
Let's start by creating a file named hello.html. Then, enter the text Hello, World! into the file. You can do that in various ways:
Create a file hello.html that contains the text Hello, World!.
dquote> in the terminalQ: I typed the command and pressed Enter, but it didn't run. Instead, the terminal shows dquote> and keeps waiting for more input.
A: You've either forgotten to close the matching quotation marks at the end of the argument, or you haven't escaped the ! character. You can press Ctrl + C to cancel the current command and start over. Then, make sure to close the quotes and escape the ! character (on non-Windows systems). See command-line tips and tricks for more info.
Great, we're finally about to add something to our Git repository!