ef-labs / stash-hook-mirror

An Atlassian Stash repository hook for mirroring to one or more remote git repositories.
MIT License
77 stars 58 forks source link

Git push command, why not --mirror #37

Closed wherget closed 8 years ago

wherget commented 8 years ago

I was wondering why you don't use git push --mirror, which to me looks like it's subsuming what your push command is currently doing? Am I missing something?

adrianluisgonzalez commented 8 years ago

It originally used --mirror, but issue #11 requested a change to avoid mirroring all ref specs like pull requests.

wherget commented 8 years ago

Ah, I see. Thanks for clarifying. Somehow I missed that issue when searching.