
Git
Moke丶青
无
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[git] 换行符自动转换问题
关闭自动转换git config --global core.autocrlf false修改 Git 的全局配置文件进入当前用户的主目录(通常 XP 的用户目录是 C:\Documents and Settings\yourname,在 Vista 和 Win7 下是C:\Users\yourname),用你最顺手的文本编辑器打开 .gitconfig 文件。在 [core] 区段找到 autocrlf,将它的值改为 false。如果没找到,就在 [core] 区段中新增一行:(最终效果见图)原创 2021-11-29 20:13:00 · 2831 阅读 · 0 评论 -
[git] Winwos clone代码错误
error: invalid path 'src/test/common/test_blkdev_sys_block/sys/dev/block/8:0'fatal: unable to checkout working treewarning: Clone succeeded, but checkout failed.You can inspect what was checked out with 'git status'and retry with 'git restore --source=原创 2021-08-09 11:57:56 · 1287 阅读 · 1 评论 -
[git] 配置小乌龟
常规设置C:\Program Files\Git\bin原创 2021-08-09 11:55:28 · 330 阅读 · 0 评论 -
[linux] 配置git
git config --global user.name "Your_username"git config --global user.email "[email protected]"ssh-keygen -t rsa -C "[email protected]"cat /root/.ssh/id_rsa.pub原创 2021-01-23 17:32:56 · 113 阅读 · 0 评论 -
[git] git放弃本地更新remote
git 冲突放弃本地git fetch --allgit reset --hard origin/mastergit pull原创 2020-07-14 19:50:19 · 241 阅读 · 0 评论