Note that there are some explanatory texts on larger screens.

plurals
  1. POAfter a Git push, remote repo shows files as deleted
    primarykey
    data
    text
    <p>I cannot find any of the files on my remote repo.</p> <ol> <li>Created a Git repo on shared hosting (site5) as described by <a href="http://wiki.site5.com/Git" rel="nofollow noreferrer">their tutorial</a></li> <li>init'd it and added a simple text file. OK</li> <li>Cloned on to my local (WinXP) machine. OK</li> <li>Deleted the test file on my local copy, added a few real files. OK</li> <li>Committed the local changes. OK</li> <li>Pushed to remote server. OK</li> <li>MsysGit threw a few warnings (below), but told me we had success.</li> <li>FTP'd into the remote server, but <strong>the files weren't there</strong>.</li> <li>SSH'd in (using PUTTY) and ran <code>git status</code>. It gave me the whole list, but with the word "deleted" preceding each file. See below.</li> </ol> <p>Working off of the cue that I am not on any branch, I checked out the specific commit. It found it, but the files and <code>git status</code> still show nothing doing. It told me:</p> <blockquote> <p>Note: moving to '9c47b5' which isn't a local branch</p> </blockquote> <p>Tried to checkout master HEAD. No luck, it tells me</p> <blockquote> <p>-jailshell: /usr/bin/git: No such file or directory</p> </blockquote> <hr> <p>Git status shows:</p> <pre><code>[frumwebc@your tanee.com]$ git status # Not currently on any branch. # Changes to be committed: # (use "git reset HEAD &lt;file&gt;..." to unstage) # # deleted: _notes/dwsync.xml # deleted: contact-us/_notes/dwsync.xml # deleted: contact-us/index.html # </code></pre> <p>The warnings were:</p> <pre><code>warning: updating the current branch warning: Updating the currently checked out branch may cause confusion, warning: as the index and work tree do not reflect changes that are in HEAD. warning: As a result, you may see the changes you just pushed into it warning: reverted when you run 'git diff' over there, and you may want warning: to run 'git reset --hard' before starting to work to recover. warning: warning: You can set 'receive.denyCurrentBranch' configuration variable to warning: 'refuse' in the remote repository to forbid pushing into its warning: current branch. warning: To allow pushing into the current branch, you can set it to 'ignore'; warning: but this is not recommended unless you arranged to update its work warning: tree to match what you pushed in some other way. warning: warning: To squelch this message, you can set it to 'warn'. warning: warning: Note that the default will change in a future version of git warning: to refuse updating the current branch unless you have the warning: configuration variable set to either 'ignore' or 'warn'. Pushing to fru@67......ee.com To fru@67......ee.com/26d352f..9c47b55 master -&gt; master </code></pre>
    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.
 

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