在命令行中,输入git init,使项目文件夹加入git管理;

输入git add ssm-crud/,将Test文件夹全部内容添加到git。

输入git commit -m "提交信息"(“git commit -m "提交信息"”)

输入git remote add origin https://github.com/wenhaixiong/ssm-crud.git ,连接你的GitHub仓库。

输入git push -u origin master,上传项目到GitHub。

在GitHub上查看自己的第一个开源项目,完成。

原文:https://www.cnblogs.com/q964024886/p/10884111.html