最新发布

xiaowu 发布于2022-12-30 13:40:45, 帖上标签

Please remove the file from history and try again.
(0) 阅读全文...

xiaowu 发布于2022-11-25 09:29:00, 帖上标签

如何给GitHub开源项目提交PR
(0) 阅读全文...

xiaowu 发布于2020-01-15 15:31:48, 帖上标签

1. 删除子模块PHP Code复制内容到剪贴板 # 逆初始化模块,其中{MOD_NAME}为模块目录,执行后可发现模块目录被清空 git submodule deinit {MOD_NAME} # 删除.git
(0) 阅读全文...

xiaowu 发布于2019-10-24 20:37:00, 帖上标签

如果我们往一个非空的目录下 clone git 项目,就会提示错误信息:
fatal: destination path '.' already exists and is not an empty directory.
(0) 阅读全文...

xiaowu 发布于2019-08-19 15:00:30, 帖上标签

Linux下安装代码统计工具git_stats
(1) 阅读全文...

xiaowu 发布于2019-08-19 13:08:20, 帖上标签

git代码统计gitstats-生成详细html报告
(1) 阅读全文...

xiaowu 发布于2018-10-04 10:54:28, 帖上标签

C/C++ Code复制内容到剪贴板 # 删除 untracked files git clean -f # 连 untracked 的目录也一起删掉 git clean -fd # 连 gitignore
(0) 阅读全文...

xiaowu 发布于2018-07-22 09:14:39, 帖上标签

Download for Linux and Unix
(0) 阅读全文...

xiaowu 发布于2018-07-11 22:31:50, 帖上标签

将其他分支替换为主分支
(0) 阅读全文...

xiaowu 发布于2018-04-03 15:13:21, 帖上标签

C/C++ Code复制内容到剪贴板 git rm -r -f --cached .idea
(0) 阅读全文...

xiaowu 发布于2018-03-30 14:23:53, 帖上标签

搭建git服务器,设置自动拉取脚本
(0) 阅读全文...

xiaowu 发布于2017-11-26 19:54:04, 帖上标签

git修改远程仓库地址的三种方法直接命令修改 git remote set-url origin [url] git remot add origin [url]
(0) 阅读全文...

xiaowu 发布于2017-09-28 09:43:06, 帖上标签

遇到这两个错误, 基本上都是叫你将 autocrlf 设置为 false. 如果你的源文件中是换行符是LF,而autocrlf=true, 此时git add就会遇到 fatal: LF would be replaced by CRLF 的
(24) 阅读全文...

xiaowu 发布于2017-08-09 09:15:01, 帖上标签

Git可以将用户名,密码和仓库链接保存在硬盘中,而不用在每次push的时候都输入密码。保存密码到硬盘一条命令就可以PHP Code复制内容到剪贴板 git config credential.helper
(76) 阅读全文...

xiaowu 发布于2017-06-13 10:42:10, 帖上标签

git代码库回滚: 指的是将代码库某分支退回到以前的某个commit id【本地代码库回滚】:git reset --hard commit-id :回滚到commit-id,讲commit-id之后提交的commit都去除git r
(83) 阅读全文...

xiaowu 发布于2017-06-13 10:19:04, 帖上标签

查看所有远程分支 PHP Code复制内容到剪贴板 git branch -r 直接拉取指定分支cnoocPHP Code复制内容到剪贴板 git clone -b cnooc 地址 git冲突PHP Code复制内容
(112) 阅读全文...

xiaowu 发布于2016-08-23 11:33:39, 帖上标签

git仓库初始化,克隆git仓库,修改git远程仓库地址,Pulling without specifying how to reconcile divergent branches is
(436) 阅读全文...
Powered by yoyo苏ICP备15045725号