Skip to content

解决Git报错fatal: bad object HEAD | 共建代码世界,践行开源精神 #12

@CodeWater404

Description

@CodeWater404

https://blog.codewater.top/%E8%A7%A3%E5%86%B3Git%E6%8A%A5%E9%94%99fatal-bad-object-HEAD/?

背景某次工作时,在本地”dev”分支开发完,准备往本地”master”分支上合并。当我自信的敲下: 1git checkout master 然后,问题出现了。。。。 123456789101112131415161718# 这里隐藏相关文件名error: Your local changes to the following files would be overwritten by check

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions