Skip to content

Commit

Permalink
Prune old remote refs on git fetch.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Apr 12, 2024
1 parent 71bd28d commit 4cb99ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fi
pushd "${REPO}" > /dev/null 2>&1
echo "> detaching"
git checkout --detach
git fetch
git fetch -p

tasks=()
for branch in $(git for-each-ref refs/remotes/origin --format="%(refname:lstrip=3)"); do
Expand Down

0 comments on commit 4cb99ff

Please sign in to comment.