Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 703 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 703 Bytes

BFG Repo-Cleaner

BFG dockerized.

Usage

You could run BFG in a container by executing the following docker command.

docker run -it --rm \
  --volume "$PWD:/home/bfg/workspace" \
  koenrh/bfg \
  --delete-files id_rsa

You could make this command more easily accessible by putting it in an executable, and make sure that it is available in your $PATH. Alternatively, you could create wrapper functions for your docker run commands (example).

bfg() {
  docker run -it --rm \
    --volume "$PWD:/home/bfg/workspace" \
    --name bfg \
    koenrh/bfg "$@"
}