Git push only for bare repositories?
Read the warning carefully. The new default prohibition is only on pushing to the currently checked out branch in a non-bare repository. It is perfectly OK to push to any other branch in a non-bare repository. The reason for this is that the push process has no direct access to the working tree so the … Read more