目的:使用idea 把项目 推送到 coding 上去

第一步:创建本地仓储

1-1:首先必须安装 git https://blog.csdn.net/Tomwildboar/article/details/82312646

2-1:初始化项目找到你的项目文件夹,右键使用 Git Bash 打开,并运行 git init 再一次 运行 git add.       git commit -m ""

 第二步:配置 公钥

2-1:创建公钥 https://blog.csdn.net/Tomwildboar/article/details/82313476

2-2:去coding 上找到 个人设置 里面的SSH公钥

2-3:新增公钥

第三步:在 coding 上创建空项目

在 + 里面选择 项目

 第四步: 上传项目到coding

 打开上图的 使用命令行推送已存在的仓库

然后再找到你的项目,右键使用 git Bash 打开,把那两句代码依次执行

 再次刷新coding上面的页面就可以了

 

第五步:使用 idea 上传代码

5-1:打开idae,随意添加一句代码

 

 

 

 5-2:查看  刷新coding 页面

 

最后说一点小细节

 LICENSE  (直接建一个文件copy里面去)

The MIT License (MIT)

Copyright (c) 2014 connors and other contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.