Close the creation of a new .gitignore file in Git Bash

105 Views Asked by At

I am trying to upload a Unity project to GitHub and I want to create a new .gitignore file. The instructions I am following suggest to create it using the vi .gitignore command, and to close the creation process, I have to type :wq at the end of the text. I typed the script and ended it with :wq, but it is not closing.

1

There are 1 best solutions below

0
thomas On BEST ANSWER

hit escape then ':' then write "wq" and hit enter