1. Git upload warning:
警告信息:warning: LF will be replaced by CRLF in mingw64/lib/tcl8.6/tzdata/Pacific/Rarotonga.
The file will have its original line endings in your working directory
Solution: git config core.autocrlf false After executing this command, re-execute git add. Don’t forget the last point
2. Git upload error:
错误信息:To https://github.com/..........git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/......git'
Solution: $ git pull --rebase origin master
Re-execute after execution: $ git push origin master
Perfect solution!