Deleted commit still available in source browser
Reported by wildchild | June 19th, 2008 @ 11:08 AM
Doing this:
git reset --hard HEAD^
git push -f origin
After push removed commit still available in source browser. Also commit exists in news feed.
Comments and changes to this ticket
-
defunkt July 8th, 2008 @ 04:48 PM
- → Assigned user changed from to defunkt
- → Tag changed from to browse idiotproofing
The news feed is a permanent record, it won't ever change.
Can you show me an example of when this happened? I would expect push -f to change the HEAD.
-
defunkt August 5th, 2008 @ 08:41 PM
- → State changed from new to waiting
-
wildchild August 5th, 2008 @ 09:57 PM
Consider workflow:
git commit -m "Initial commit"
nano README (edit README)
git commit -a -m "Updating README" (produces fa8c27bdcd2566340a22a6dcf8c893f88f4055ea)
git push
OMG, something wrong!!!
git reset --hard HEAD^
git push -f
Commit no longer available in commits history (right stuff)
http://github.com/wildchild/test...
But I still able to browse changes :(
http://github.com/wildchild/test...
Maybe I have misunderstood something?
Cheers.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
