app/models/repository.rb
def before_push_tag
    expire_cache
    expire_tags_cache
    expire_tag_count_cache
  end
# Runs code before pushing (= creating or removing) a tag.
Runs code before pushing (= creating or removing) a tag.
Runs code before pushing ( = creating or removing ) a tag .
def before_push_tag
    expire_cache
    expire_tags_cache
    expire_tag_count_cache
  end
def before_push_tag expire_cache expire_tags_cache expire_tag_count_cache end
Runs code before pushing (= creating or removing) a tag.
Runs code before pushing ( = creating or removing ) a tag .