DPO_Text2SQL icon indicating copy to clipboard operation
DPO_Text2SQL copied to clipboard

Error when checking out old commit: reference is not a tree

Open wuxhua opened this issue 1 year ago • 2 comments

Hi, I tried to check out the commit 50b44d3c6da7c9cb24a60fedec171fb1de3e764a mentioned in the documentation, but I got the following error:

$ git checkout 50b44d3c6da7c9cb24a60fedec171fb1de3e764a
fatal: reference is not a tree: 50b44d3c6da7c9cb24a60fedec171fb1de3e764a

It seems that this commit no longer exists in the current repository history. Could you please let me know which branch or tag contains the equivalent version of this commit, or if it has been replaced by a newer one?

wuxhua avatar Oct 08 '25 06:10 wuxhua

Please try the following commands after cloning LLaMA-Factory instead of git checkout

git fetch origin 50b44d3c6da7c9cb24a60fedec171fb1de3e764a
git switch --detach 50b44d3c6da7c9cb24a60fedec171fb1de3e764a

Let me know if this fixes the issue.

Tokgoleo avatar Oct 09 '25 08:10 Tokgoleo

Thank you! The problem is solved. I appreciate your assistance.

wuxhua avatar Oct 09 '25 09:10 wuxhua