Unable to create gitignore on github browser

Asked 2 years ago, Updated 2 years ago, 41 views

I'm using GitHub, but I wanted to create a .gitignore, so I wanted to write the contents of .gitignore in the create new file and make a commit new file, but I can't press the commit new file button.Do you know why?
Button State
Also, you might want to write it locally and push it, but if you create .gitignore in a text edit on a mac, it somehow becomes .gitignore.txt and you can't use it.
Does anyone know why?

github

2022-09-29 22:42

1 Answers

I edited the touch command in a text edit and it worked.
It seems that if you create a new one with a mac text edit, it will definitely be .txt.

This post was posted as a community wiki based on @'s first comment.


2022-09-29 22:42

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.