把vs的项目添加到源代码git管理,所有自己写的代码文件不见了
把vs的项目添加到源代码git管理,所有自己写的代码文件不见了
一开始在解决方案的目录下建了一个空的git存储库,后面又通过右键的方式把解决方案加入到源代码管理中,不知道点哪了,源代码都不见了。用git reflog如下,就没有提交内容,还有找回的可能性吗?
$ git reflog
441d054 (HEAD -> master) HEAD@{0}: reset: moving to HEAD
441d054 (HEAD -> master) HEAD@{1}: commit (initial): 添加 .gitignore 和 .gitattributes。
$ git status
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
bak/
riskmanager/
nothing added to commit but untracked files present (use "git add" to track)