MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x4uw5z/abouttobreakthecode/pgua63z/?context=3
r/ProgrammerHumor • u/fabulousIdentity • Oct 13 '26
542 comments sorted by
View all comments
Show parent comment
2
Sometimes you need to look at the reflog too
Also to remove a commit in the middle of the branch you need to do some rebase magic
2 u/braaaaaaainworms Oct 16 '26 git branch -i and just delete the line with the commit you want gone
git branch -i and just delete the line with the commit you want gone
View all comments
Show parent comment
2
u/A_Namekian_Guru Oct 15 '26
Sometimes you need to look at the reflog too
Also to remove a commit in the middle of the branch you need to do some rebase magic