Pet*_*ete 4 linux git git-stash git-fetch
我有一个git repo,我的同事在他的电脑上克隆了它.无论出于何种原因,我们因技术问题而丢失了他的存储库.
在我们失去回购之前不久,他把一些工作藏起来了,然后我做了一个git fetch跟随git merge master.
git fetch
git merge master
是否有可能获得藏匿的内容?那git fetch命令也会把藏匿物拉过来吗?
我可以查看所有远程分支,git branch -a但我需要隐藏数据.
git branch -a
我们正在运行git version 1.6.3.3的Ubuntu 9.10 Karmic
git version 1.6.3.3
Ubuntu 9.10 Karmic
mpo*_*llo 6
对不起,我不相信你能从中恢复过来.(可以说,如果可以的话,这将是一个安全风险;有人可能会在配置文件或其他内容中隐藏密码.)
从文档(git fetch --help):Fetches named heads or tags from one or more other repositories, along with the objects necessary to complete them.
git fetch --help
Fetches named heads or tags from one or more other repositories, along with the objects necessary to complete them.
关键词:命名头.可悲的是,藏匿不是命名头(或标签).
归档时间:
13 年,7 月 前
查看次数:
129 次
最近记录: