Skip to content

Instantly share code, notes, and snippets.

@offchan42
Last active January 3, 2019 20:08
Show Gist options
  • Save offchan42/d6a4ee85314971ef6cc9f4f8d9414d07 to your computer and use it in GitHub Desktop.
Save offchan42/d6a4ee85314971ef6cc9f4f8d9414d07 to your computer and use it in GitHub Desktop.
Alias file for git-bfg repo cleaner
:: Put this file and `bfg.jar` into a dedicated folder for aliases like `C:\Aliases`.
:: And ensure that you add the folder path to `PATH` environment variable.
:: Then you would be able to call `bfg` inside command prompt.
@echo off
echo.
java -jar %~dp0\bfg.jar %*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment