git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git push: failed to push some refs and missing commit

From
NSNico Schottelius <nico-git-20080428@schottelius.org>
Date
Apr 28, 2008, 17:10 UTC
Message-ID
<20080428171020.GF23412@denkbrett.schottelius.org>
Hello!
Error 1:
When doing git-push once I get:
chdebfl0@u0160:~/public_html/nello$ git-push
Counting objects: 43, done.
Compressing objects: 100% (19/19), done.
Writing objects: 100% (24/24), 6.94 KiB, done.
Total 24 (delta 17), reused 3 (delta 2)
Unpacking objects: 100% (24/24), done.
To /home/server/git/web/nello/.git
   9299071..06c9c06  master -> master
error: failed to push some refs to '/home/server/git/web/nello/.git'
chdebfl0@u0160:~/public_html/nello$ git-status
# On branch master
nothing to commit (working directory clean)

Doing git-fetch does not fetch, as there is nothing new, git-push succeeds the second time:

chdebfl0@u0160:~/public_html/nello$ git-fetch chdebfl0@u0160:~/public_html/nello$ git-push Everything up-to-date chdebfl0@u0160:~/public_html/nello$

Error 2:
I miss a commit, that removed the function hideContent();
If I do
% git-log -p -ShideContent
I see two commits:
- the first one, that introduced the function
- the second one that I used to git checkout <firstcommit> filename it again
It seems some other files have been modified without having an log entry.
Anyone an idea, what could be the reason for it?
Sincerly
Nico
PS: Please CC me, I am not subscribed.
-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C
Next: Nico Schottelius
Message 1 of 2 in “git push: failed to push some refs and missing commit”
  1. Nico SchotteliusApr 28, 2008
  2. Nico SchotteliusApr 28, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.