1. Download git install
3. Go to the project directory
3. Clone the remote library to the local: git clone git address (and copy all files in the cloned project to the project directory and overwrite .git readme.md )
4.git add .
5.git commit -m "First commit"
6.git push origin master
mac . start file
显示:defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false
Refresh after showing or hiding: killall Finder