Show system files / Show git ignore in osx

前端 未结 10 1756
暗喜
暗喜 2020-12-22 18:46

By default it is not possible to see .gitignore files in osx. What is command to reveal these files?

10条回答
  •  臣服心动
    2020-12-22 19:09

    It's possible you might just not have a .gitignore file. If you don't have one, you can create it like this:

    >touch ~/.gitignore
    

    And then edit it however you'd like. Git will automatically check this file, without any additional configuration!

提交回复
热议问题