0
点赞
收藏
分享

微信扫一扫

Elasticsearch配置文件

zhongjh 2023-10-26 阅读 58

Git指南

删除文件后无法Pull

问题描述

解决方法

git fetch --all 
git reset --hard origin/master
git pull

Pull卡死在进度条

问题描述

解决方法

Tortoisegit无法Clone

问题描述

解决方法

[http "https://github.com"]
	proxy = socks5://127.0.0.1:10808
[user]
	name = "bowjacon"
	email = "2772408947@qq.com"
[core]
	autocrlf = true
	safecrlf = false

Git撤销未提交

问题描述

解决办法

  • 需要撤销的内容文件属于未跟踪的状态
git clean -fdx
  • 需要撤销的内容已被git add暂存,但未执行git commit提交
git rm --cached -r .
# 或者使用
git reset
  • 需要撤销的内容文件属于未跟踪的状态
git checkout .
  • 已在版本库中的文件发生了变更、且已git add暂存
git reset
git checkout .

{% label 总结 blue %}

git reset
git checkout .
git clean -fdx

TortoiseGit密钥被拒

问题描述

解决办法

举报

相关推荐

0 条评论