![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
github
懒懒的小菜鸟
每天开心一点
展开
-
jenkins上github账号配置
进入manage jenkins-manage credentials,添加凭据,选择方式:username with password scope根据需要选择,username\password输入你的github的用户名及密码即可,这样在项目配置时就可以选择配置好的credentials: 就可以持续集成你在github上的代码了。 ...原创 2020-10-12 15:26:42 · 1044 阅读 · 0 评论 -
将项目上传到github记录
前置:先准备好github账号,安装好git。 1、进入到要上传的项目目录,右键git bash here。 2、在git bash里面执行 git init,在当前目录下多了一个.git的隐藏文件夹 3、将项目中所有文件添加到本地仓库中:git add .(添加特定文件时,将.换成对应的文件名即可) 4、git config --global user.email “xxx@xxx”(邮箱):设置名字,因为是协同工作,需要自报家门(查看配置:git config -l ) 5、执行git comm原创 2020-10-12 15:10:34 · 104 阅读 · 0 评论