Skip to content

Commit 84e7069

Browse files
committed
When pushing to the mirror, push new tags also.
1 parent d061947 commit 84e7069

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-find-fetch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ find "$@" \( -name .git -o -name '*.git' \) -type d | \
2626
if [[ $remote == mirror ]]; then
2727
echo git push: $repo_dir -- $remote
2828
GIT_DIR="$repo_dir" git push --mirror $remote
29+
GIT_DIR="$repo_dir" git push --tags $remote
2930
fi
3031
done
3132
fi

0 commit comments

Comments
 (0)