diff --git a/.bazelignore b/.bazelignore index 1b520c317..bbb6d1890 100644 --- a/.bazelignore +++ b/.bazelignore @@ -1,4 +1,10 @@ -.git +# ignore .git, but make sure we can get commit hash +!.git/HEAD +!.git/refs +!.git/refs/heads +!.git/packed-refs +.git/* + node_modules bazel-out bazel-bin