Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In short, your remote repository is no longer a bare one, and you pushing on the remote checkout branch.</p> <p>See "<a href="http://www.bluishcoder.co.nz/2007/09/how-to-publish-git-repository.html" rel="noreferrer">How to publish a Git repository</a>": </p> <blockquote> <p>A bare repository is one without a checked out working copy of the code. It only contains the git database.<br> As a general rule you should never push into a repository that contains changes in the working copy.<br> To ensure this doesn't happen, we're making the server repository a bare repository - it has no working copy</p> </blockquote> <p>From <a href="http://lists.zerezo.com/git/msg554329.html" rel="noreferrer">here</a>:</p> <p>Note that the target of a "push" is normally a <strong>bare</strong> repository (i.e., with no work tree of its own).<br> You can also push to a repository that has a checked-out working tree, but the working tree will not be updated by the push.<br> This may lead to unexpected results if the branch you push to is the currently checked-out branch.</p> <p>If a detached work tree is defined (which can for instance correspond to a web server's DocumentRoot), you need to :</p> <ul> <li>have a <code>post-receive</code> hook on your remote repository (<a href="http://toroid.org/ams/git-website-howto" rel="noreferrer">like the one described here</a>), running "<code>git checkout -f</code>" and </li> <li><a href="http://www.mail-archive.com/frugalware-devel@frugalware.org/msg04465.html" rel="noreferrer">ignore the warning message</a> (<code>git config receive.denycurrentbranch ignore</code>)</li> </ul> <p>Check, on your remote repository, the value of <code>git config core.worktree</code> and <code>git config core.bare</code></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload