git command出现的相关问题一
git reset version --hard
Q: fatal: Could not parse object ‘hash id’
Command:git reset 7284421698f5de632054e18cd5b6ca236138fa1b --hard
Code:128
Message:fatal: Could not parse object ‘7284421698f5de632054e18cd5b6ca236138fa1b’.
问题原因:
1:切换到master分支没有更新最新代码
2:git log 没有此hash id
解决方法:
1:切换到master分支使用git pull更新代码
2:git log查看有没有此hash id