undo “git filter-branch … — --all”? in one command?

后端 未结 2 1605
轻奢々
轻奢々 2021-02-09 02:22

I started messing around with git filter-branch. The --all option rewrites all branches and tags. Cool. git filter-branch creates a backup of all re

2条回答
  •  无人共我
    2021-02-09 02:45

    Ehmm, move all refs from .git/refs/original to their place in .git/refs/heads? I mean literally move, these are plain text files. Also you may take a look into .git/packed-refs if it exists.

提交回复
热议问题