Skip to content

Git 重置操作 #38

Description

@roojay

删除 Tag

  • 删除远程 tag
git push origin :refs/tags/tagname
  • 删除本地 tag
git tag -d tagname

提交记录重置

  • 重置到某个版本
git reset --hard 提交记录的HASH值
  • push 到 github
git push origin HEAD —force

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions