
git
文章平均质量分 66
ZSC_LM
这个作者很懒,什么都没留下…
展开
-
现有文件夹添加到git仓库的步骤
保存一下现有文件夹添加到git仓库的步骤(已创建好空的仓库,地址为:https://git.xxx.com/firework/xxx.git)cd existing_foldergit initgit remote add origin https://git.xxx.com/firework/xxx.gitgit add .git commit -m "init"git push...原创 2020-02-01 18:41:17 · 2837 阅读 · 0 评论 -
git push提交时报错,拒绝提交
今天初次创建了git项目,并尝试将代码提交,但是报错,一直拒绝提交,错误如下:remote: error: refusing to update checked out branch: refs/heads/master remote: error: By default, updating the current branch in a non-bare repository r原创 2015-01-13 14:02:56 · 4280 阅读 · 0 评论 -
Git 常用命令速查表
Git 常用命令速查表创建版本库$ git clone <url> #克隆远程版本库$ git init #初始化本地版本库修改和提交$ git status #查看状态$ git diff ...原创 2019-10-05 11:31:44 · 6611 阅读 · 0 评论 -
CentOS7安装gitlab
1、安装依赖:yum -y install policycoreutils-python2、下载安装包:wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm3、安装:rpm -i gitlab-ce-10.0.0-ce.0.el7.x86_64....原创 2019-10-05 11:39:44 · 6813 阅读 · 0 评论