-
Make a new repository by visiting https://github.com/new.
-
Enter the name of your repository, for example "jekblog". Leave all the other options as is, and click on the button at the bottom that says "Create repository".
-
A new window will open. Find the section that has the title with the following text:
…or push an existing repository from the command line
Do not close the browser, we will need the two commands under this title soon.
- Open the chapter10/complete/recipe3 folder in your Bash.
- Add a new file to the folder; this will be a dotfile, titled .gitignore. To add it, type the following command with your console pointing to the root of recipe 3:
touch .gitignore
- Open the preceding file in your code editor and ...