# git
master提交PR到main分支出现 There isn't anything to compare
当master分支向主分支提交PR并显示时:There isn't anything to compare.main and master are entirely different commit histories.
如何强制停止某个 GitHub Actions?
当某个 GitHub Actions workflow 长时间卡住、普通取消无效时,可以通过网页、gh 命令、REST API,甚至 self-hosted runner 进程来强制停止。
如何全部清除github commit记录?
清空仓库方法,新建orphan分支,将需要的文件添加到暂存区,Commit,删除main分支,将当前latest_branch分支重命名为main分支,最后,推送到远程仓库
