在使用git-filter-repo重写后,如何推到原始遥控存储库


我使用git-filter-repo从所有回购历史记录中删除了一个敏感的字符串。

现在,在我当地的git中,我看到了

  1. I don't have the remote anymore.
  2. All the commits are with tag about the old commit (replace/deb3de48620ffc7a9f9f0210a3111da398d67c57)
  3. After adding the remote back, all local branches are on different commits from the origin branches.

我如何删除replace/标签并推动整个GIT历史记录以替换历史记录remote


在使用git-filter-repo重写后,如何推到原始遥控存储库的相关文章

随机推荐