随笔分类 -  # git

摘要:保存一下现有文件夹添加到git仓库的步骤(已创建好空的仓库,地址为:https://git.xxx.com/firework/xxx.git) cd existing_foldergit initgit remote add origin https://git.xxx.com/firework/x 阅读全文
posted @ 2020-02-01 18:41 寂地烟火 阅读(5) 评论(0) 推荐(0) 编辑
摘要:1、安装依赖:yum -y install policycoreutils-python 2、下载安装包:wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm 阅读全文
posted @ 2019-10-05 11:40 寂地烟火 阅读(6) 评论(0) 推荐(0) 编辑
摘要:Git 常用命令速查表 创建版本库 $ git clone <url> #克隆远程版本库$ git init #初始化本地版本库 修改和提交 $ git status #查看状态$ git diff #查看变更内容$ git add . #跟踪所有改动过的文件$ git add <file> #跟踪 阅读全文
posted @ 2019-10-05 11:31 寂地烟火 阅读(102) 评论(0) 推荐(0) 编辑
摘要:今天初次创建了git项目,并尝试将代码提交,但是报错,一直拒绝提交,错误如下: remote: error: refusing to update checked out branch: refs/heads/master remote: error: By default, updating th 阅读全文
posted @ 2015-01-13 14:02 寂地烟火 阅读(58) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示