随笔分类 -  git && github

github学习
摘要:1、在gitee创建项目 2、进入本地项目目录 git init #初始化 git add . #将当前目录加入到git git commit -m "first commit(提交的描述信息)" #git提交到本地版本库 git remote add origin https://gitee.co 阅读全文
posted @ 2020-06-29 11:29 pengcx 阅读(241) 评论(0) 推荐(0)
摘要:来源:https://www.codercto.com/a/45325.html 阅读全文
posted @ 2019-08-20 10:57 pengcx 阅读(148) 评论(0) 推荐(0)
摘要:删除 一些 没有 git add 的 文件; git clean 参数 -n 显示 将要 删除的 文件 和 目录 -f 删除 文件,-df 删除 文件 和 目录 阅读全文
posted @ 2018-11-29 10:40 pengcx 阅读(8325) 评论(2) 推荐(1)
摘要:1、git clone git@gitee(github).com:项目地址.git2、cd 项目根目录3、composer install4、如果需要数据迁移,cmd中到项目根目录 php artisan migrate 阅读全文
posted @ 2018-03-14 11:20 pengcx 阅读(179) 评论(0) 推荐(0)
摘要:$ mkdir filename 创建一个空目录 $ git init 把这个目录变成Git可以管理的仓库 $ pwd 用于显示当前目录 $ cat <file> 查看文件内容$ git status 查看仓库当前的状态 $ git pull 拉取远程代码$ git add <file>或. 提交到 阅读全文
posted @ 2018-03-05 15:36 pengcx 阅读(138) 评论(0) 推荐(0)
摘要:ps:同部署到GitHub上一样 http://www.cnblogs.com/pcx105/p/7777932.html 阅读全文
posted @ 2018-02-26 11:17 pengcx 阅读(307) 评论(0) 推荐(0)
摘要:1、找到要删除的项目 2、点击settings,下拉到底部 3、点击delete this repository,输入你要删除的项目名称 阅读全文
posted @ 2017-11-03 16:56 pengcx 阅读(197) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/lvkelly/article/details/54668378 总结 1、git bash;然后切换到项目根目录 2、git status(查看项目修改情况) 3、git add file,file 为修改文件名(文件夹/文件名) 4、git commit 阅读全文
posted @ 2017-11-03 14:59 pengcx 阅读(905) 评论(0) 推荐(0)
摘要:来源:http://www.cnblogs.com/fengxiongZz/p/6477456.html 首先你需要自己的网页文件(俗称项目) 第一步:登录到Github上,新建一个repository,命名为demo1,勾选 initialize this repository with a RE 阅读全文
posted @ 2017-11-03 14:07 pengcx 阅读(688) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/SeeYouBug/p/6193527.html#3583637 阅读全文
posted @ 2016-12-21 09:42 pengcx 阅读(118) 评论(0) 推荐(0)