• Junio C Hamano's avatar
    Merge branch 'jk/push-force-with-lease-creation' · e6747627
    Junio C Hamano authored
    "git push --force-with-lease" already had enough logic to allow
    ensuring that such a push results in creation of a ref (i.e. the
    receiving end did not have another push from sideways that would be
    discarded by our force-pushing), but didn't expose this possibility
    to the users.  It does so now.
    
    * jk/push-force-with-lease-creation:
      t5533: make it pass on case-sensitive filesystems
      push: allow pushing new branches with --force-with-lease
      push: add shorthand for --force-with-lease branch creation
      Documentation/git-push: fix placeholder formatting
    e6747627
remote.h 8.04 KB