git versiongit config --listgit config --global user.name "xxxx"(对应你的 github 用户名)git config --global user.email "xxxxx@nowcoder.com(对应你的 github 注册邮箱)先 cd 到要管理的目录下面
初始化本地库:`git init`
查看状态:`git status`,红色的表示还没有被管理,绿色的表示已经被缓存起来统一管理了(还没有被提交)
添加文件:`git add *`
提交:`git commit -m 'Community1.0'`

git remote add origin https://github.com/Wendy-Rong/Community.git上传远程仓库出问题,可能是牛客网仓库不行,尝试一下上传到 github 上面,参考链接:idea上传代码到github的3种方式
上传到 github 超时的问题:【Github】使用IDEA将代码push到GitHub上出现Failed to connect to github.com port 443: Timed out的解决办法