-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
Until yesterday's v3.1.1 release we installed and ran git lfs v3.0.2 in our Bitbucket Pipeline without issue. Since the v3.1.1 update I've seen the following error after the Bitbucket Pipeline installs git lfs:
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash (successful)
apt-get --assume-yes install git-lfs (successful and installs v3.1.1)
git lfs install
+ git lfs install
Hook already exists: pre-push
#!/bin/sh
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.\n"; exit 2; }
git lfs pre-push "$@"
To resolve this, either:
1: run `git lfs update --manual` for instructions on how to merge hooks.
2: run `git lfs update --force` to overwrite your hook.
I didn't see anything obvious in the release notes that would lead me to the cause of this issue. Could you offer a suggestion on how to fix this and what changed between releases?
Thank you!
Reactions are currently unavailable