Need help understanding erroneous git commit

Simeon Pinder spinder at redhat.com
Thu Jun 2 14:23:16 UTC 2011


Hi all,

  Can anyone with more git experience help me understand what(if any) are the ramifications of the following commit message?
I was attempting to push 1 commit (42aa525be2f00efa7777) to the release-3.0.0 branch.  I've since pushed correctly to release-3.0.0, but want to know if anything else needs to be done to clean this up properly?

https://fedorahosted.org/pipermail/rhq-commits/2011-May/005410.html


Before attempting to push local changes to the remote branch release-3.0.0, git status showed:
# On branch release-3.0.0
# Your branch is ahead of 'origin/release-3.0.0' by 1 commit.

The erroneous commit was caused by this command:

git push origin release-3.0.0:origin/release-3.0.0
 Counting objects: 32, done.
 Delta compression using 4 threads.
 Compressing objects: 100% (15/15), done.
 Writing objects: 100% (17/17), 2.84 KiB, done.
 Total 17 (delta 8), reused 0 (delta 0)
 To ssh://spinder@git.fedorahosted.org/git/rhq/rhq.git
    ef158c9..42aa525  release-3.0.0 -> origin/release-3.0.0


I'm confused by:
- how 14 commits were sent even though I was only ahead of the branch by 1 commit.
- what git tree was actually updated because release-3.0.0 does not show the erroneous message?
- if I erroneously created a new remote branch, I can't see it?

Thanks in advance for your help.

-Simeon



More information about the rhq-devel mailing list