返回 Skill 列表
extension
分类: 开发与工程无需 API Key

rsls-fix

修复由损坏的rsls*文件引起的错误。当任何操作因提及rsls*文件而失败时使用(例如,“坏的对象*.rslsc”,“缺失的*.rslsd”,找不到文件*.rsls*)。

person作者: jakexiaohubgithub

rsls* File Fix

When any operation fails with errors mentioning rsls* files (e.g., *.rslsc, *.rslsd, *.rslsa), these are corrupted/temporary files that should be deleted.

Error Patterns

  • bad object refs/heads/<name>.rsls*
  • fatal: <path>.rsls*
  • No such file or directory: <path>.rsls*
  • Any error containing .rsls in a filename

Fix

Delete the corrupted file mentioned in the error:

# Remove the specific file from the error message
rm <path-from-error>

# Or find and remove all rsls* files in a directory
find <directory> -name '*.rsls*' -delete

Then retry the failed operation.

MUST DO

  • Delete rsls* files without prompting - they are always safe to remove
  • Extract the exact path from the error message
  • Retry the failed operation after cleanup