From MattWiki
Jump to navigation Jump to search size: 1 KB, MIME type: application/zip)
Warning: This file type may contain malicious code. By executing it, your system may be compromised.

Allow remote pushes to a checked out repository

In the remote repository you are planing on pushing to, run the following:

git config receive.denycurrentbranch ignore

Then download the post-update file and unzip it. Now copy this file to your .git/hooks/ folder and make it executable.

rm -rf
chmod 775 post-update
mv post-update .git/hooks/post-update

You should now be able to remotely push to this repository without errors.


PD This file has been released into the public domain by the copyright holder, its copyright has expired, or it is ineligible for copyright. This applies worldwide.

File history

Click on a date/time to view the file as it appeared at that time.

current19:10, 3 May 2010 (1 KB)Matt (talk | contribs)
  • You cannot overwrite this file.

The following page links to this file: