[Nix-dev] Accidental force push to nixpkgs

Marc Weber marco-oweber at gmx.de
Tue Apr 8 12:12:01 CEST 2014


solutions:

1) push to another repository which allows seting up hooks, then sync to
  github/nixos

2) don't preven this when pushing, prevent when pulling by:

  git merge --ff-only or .git/config:

   merge.ff
      [..]
       When set to only, only such fast-forward merges are allowed (equivalent
       to giving the --ff-only option from the command line).


Using Google did not reveal more options to me.

Marc Weber


More information about the nix-dev mailing list