我在Ubuntu 18.4上开始使用TheOdinProject,在Git部分中要求我编辑.gitignore文件。我已经使用
touch .gitignore
创建了它,当我输入ls -la
时它出现了,但我在Files中没有看到它。在参考的视频https://www.youtube.com/watch?v=HVsySz-h9r4中,该文件已经打开,但没有解释如何打开它。
我该如何从终端打开.gitignore文件,以便添加像.DS_Store
这样的内容?