Update git branches on push.

This pushes to clean checked-out repositories.  Only works since git
2.3.0, so on older versions, I'll apparently need to use a local dotfile
for those systems.

git config receive.denyCurrentBranch updateInstead
This commit is contained in:
David Tomaschik
2018-03-04 22:15:36 -08:00
parent 5a9e0b6578
commit 286eb02f4b

View File

@@ -56,3 +56,5 @@
[credential] [credential]
helper = cache --timeout=36000 helper = cache --timeout=36000
[receive]
denyCurrentBranch = updateInstead