Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by danny_codes

1 day ago

git rebase -i <one commit before your mistake> git push origin mainline -f

2 comments

danny_codes

Reply

danielbln  19 hours ago

git log --all --reflog -- path/to/secret-file

  • dh2022  11 hours ago

    Git filter rule

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities