Skip to content
  • Karel Koci's avatar
    9544f32c
    Improve git bare repository handling · 9544f32c
    Karel Koci authored
    For mirrors we are now using `git clone --mirror` istead of `--bare`.
    Previous implementation with `clone --bare` and `fetch` is problematic
    in case of force pushes. In such case fetch does not update refs that
    were force pushed. This change solves that.
    9544f32c
    Improve git bare repository handling
    Karel Koci authored
    For mirrors we are now using `git clone --mirror` istead of `--bare`.
    Previous implementation with `clone --bare` and `fetch` is problematic
    in case of force pushes. In such case fetch does not update refs that
    were force pushed. This change solves that.
Loading