0

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.

2
  • So this question has nothing to do with git, unity game engine, github, or git bash — it's about vi? In that case all of your tags are wrong; you should delete all of them and put vi instead. But if you find vi problematic, just don't use it. .gitignore is just a text file; any text editor will do. Use something you're comfortable with. Commented Jun 16, 2023 at 13:41
  • @matt I changed the tags, thank you for the info. And I will try and do the text file method Commented Jun 16, 2023 at 13:43

1 Answer 1

0

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.