Search code examples
vi

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


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.


Solution

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