Changing the Git history of your repository using a script

We’ve created a script that will change any commits that previously had the old email address in its author or committer fields to use the correct name and email address. Note: Running this script rewrites history for all repository collaborators. After completing these steps, any person with forks or clones must fetch the rewritten history and rebase any local changes into the rewritten history. Before running this script, you’ll need:

Mac OS升级BigSur后Homebrew异常

异常信息 1 2 3 Error: An exception occurred within a child process: NoMethodError: undefined method `path' for nil:NilClass Did you mean? paths 解决方案 1 2 3 sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install brew update-reset 参考文章:https://discourse.brew.s


Formula 索引 (brew update) 替换为国内镜像仓库 1 2 3 4 5 6 7 git -C "$(brew --repo)" remote set-url origin git -C "$(brew --repo homebrew/core)" remote set-url origin git -C "$(brew --repo homebrew/cask)" remote set-url origin brew update 还原官方仓库 1 2 3 4 5 6 7 git -C "$(brew --repo)" remote set-url origin