如何从未在gitclean -n中出现的未跟踪文件中删除目录?以下是我的步骤:...gives我:(use "git add <file>..." to include in what will be committed/site-testing/lru-cache/
我没有从gitclean -n (或<em
我git重置了我的本地目录:但仍然显示出以下情况:On branch step4 (use "git add <file>..." to include in what will be committed)
nothing added to commit but untrackedfiles present (use "g
在那之后,我写了一些代码,并意识到它相当混乱,并希望将其恢复为HEAD提交。我做了git reset --hard HEAD,我的一些文件(我很确定我提交了)丢失了。现在我正在看一个一周前的版本,我的git状态显示为Your branch is ahead of 'origin/master' by 2 commits。一些“丢失”的文件</e
我试图恢复到特定的提交(3d5575f8e4c97ddab8ad5d540F4664c04db75d ),但当我这样做时:
git revert 3d5575f8e4c97ddab8ad5d540fee4664c04db75dPlease, fix them up in the work tree, and then use 'git add/