DEV Community

Discussion on: 5 Git Commands Everyone Should Know

Collapse
sirzarganwar profile image
Martin Jirasek

Hmm, "git revert is pretty useful but I've never used it" 🙄

  • reflog
  • reset --soft HEAD^
  • log (with lot of funny varints of args)
  • push origin :branch
  • ...