1. Command +space Open the terminal and enter

AppleShowAllFiles -bool true // This command displays hidden files in defaults Write com.apple.finder AppleShowAllFiles -bool false // This command disables display of hidden filesCopy the code

2. Press Option + Command + ESC on the keyboard to pop up the running software, select Finder and click the restart button in the lower right corner.

. Gitignore Common matching examples

* / SRC: ignores the SRC file * / SRC: ignores the SRC file * /*. C: ignores cat.c, does not ignore build/cat.c* debug/*.obj: Obj /common/ IO. Obj and tools/debug/ IO. Obj ** */foo: Ignore /foo, a/foo, a/b/foo, etc. * A /**/b: Ignore a/b, a/x/b, a/x/y/b etc. *! / SRC /run.sh: does not ignore the run.sh file in the SRC directory * *. Log: ignores all