File:Post-update.zip

From MattWiki
Jump to: navigation, search
Post-update.zip(file 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.

wget http://wiki.mattrude.com/images/d/de/Post-update.zip
unzip Post-update.zip
rm -rf Post-update.zip
chmod 775 post-update
mv post-update .git/hooks/post-update

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

Licensing

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.

Date/TimeDimensionsUserComment
current00:10, 4 May 2010 (1 KB)Matt (talk | contribs)
  • You cannot overwrite this file.

The following page links to this file: