文章分类 -  git

摘要:1.回滚到指定版本 #git reset --hard commit_id 2.强行推送到远程分支 #git push origin HEAD --force 阅读全文
posted @ 2019-01-15 16:29 sea24 阅读(53) 评论(0) 推荐(0)
摘要:文件权限变更git也会检测到并提交。git config core.filemode false // 当前版本库 git config --global core.fileMode false // 所有版本库 阅读全文
posted @ 2018-11-01 15:08 sea24 阅读(339) 评论(0) 推荐(0)
摘要:1.#git –-version //查看版本 2.#yum remove git //如果存在则卸载 3.yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc xmlto perl 阅读全文
posted @ 2018-10-30 15:50 sea24 阅读(58) 评论(0) 推荐(0)
摘要:说明提示id_rsa这个文件权限开放太大了,所有用户都可以读取。 设置为700: #chmod -R 700 /root/.ssh/id_rsa 阅读全文
posted @ 2018-10-30 15:39 sea24 阅读(2195) 评论(0) 推荐(0)