TGViewer
Artem Ryblov’s Data Science Weekly Artem Ryblov’s Data Science Weekly @data_science_weekly · 685 subscribers
Post #120 602
Oh Shit, Git!?!

Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation has this chicken and egg problem where you can't search for how to get yourself out of a mess, unless you already know the name of the thing you need to know about in order to fix your problem.

- I did something terribly wrong, please tell me git has a magic time machine!?!
- I committed and immediately realized I need to make one small change!
- I need to change the message on my last commit!
- I accidentally committed something to master that should have been on a brand new branch!
- I accidentally committed to the wrong branch!
- I tried to run a diff but nothing happened?!
- I need to undo a commit from like 5 commits ago!
- I need to undo my changes to a file!
- I give up

Link

Navigational hashtags: #armknowledgesharing #armarticles
General hashtags: #git #versioncontrol #github #gitlab

@data_science_weekly
  • 👍 2
More from @data_science_weekly
  1. Sep 27, 2026How to Make Learning as Addictive as Social Media by Luis von Ahn, TED2023 When building D…
  2. Sep 20, 2026Reliable Machine Learning: Applying SRE Principles to ML in Production by Cathy Chen, Nial…
  3. Sep 13, 2026A Short Note on P-Value Hacking by Nassim Nicholas Taleb The paper works out the exact pro…
  4. Sep 6, 2026SQLBolt — Learn SQL with simple, interactive exercises Every lesson runs a database in the…
  5. Aug 16, 2026Machine Learning by Neetcode Solve ML problems from scratch, from gradient descent to a wo…
  6. Aug 9, 2026CS 224V Conversational Virtual Assistants with Deep Learning by Stanford University Genera…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →