前言
之前在学ssm的时候写了一个基于ssm+jq+jsp的练手项目。虽然只有简单的crud,但在当时看来很是np。对于子安在的我来说依然有借鉴意义
开搞
1.创建远程库

2.在项目的上一级目录下先初始化

3.git add . 添加本目录下所有的东西到暂存区
4.git commit -m "commit a ssm project" . 将所有的东西添加到本地库
5.git remote add ssm-crud https://github.com/chjgfg/SSM-CRUD.git 连接远程主机
6.用 vim .git/config查看

7.git remote -v 查看连接的远程主机

8.git push ssm-crud master 提交

9.回到远程库,刷新网页

网友评论