Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tnightingale
Last active December 15, 2015 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnightingale/59f44847526e1cc20bf7 to your computer and use it in GitHub Desktop.
Save tnightingale/59f44847526e1cc20bf7 to your computer and use it in GitHub Desktop.
Clean up old git-bpf scripts

Run these anywhere

brew unlink git-bpf-init # Only applies if you've installed via homebrew.
rm -rf ~/.ab-git-scripts

... from within your project's repository:

rm -rf .git/rr-cache # You will lose any resolutions that haven't been sync'ed with the remote.
rm .git/ab-git-scripts
rm .git/hooks/post-commit
rm .git/hooks/post-merge

Get new shiny!

gem install git_bpf # will need to use `sudo` if using OSX system version of ruby.

... from within your project's repository:

git-bpf-init

.. or from anywhere:

git-bpf-init <path/to/project/repository>
@ngstigator
Copy link

i had to "sudo gem install git_bpf"

@ngstigator
Copy link

also had to rm -rf /.git/rr-cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment