TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Interactive Git Training Use Cases

3 pointsby sashokbgabout 2 years ago
Hello, I have been working for years with junior developers and I find that many of them struggle to get out of some &quot;delicate situations&quot;. Example &quot;detached head&quot;, &quot;wrong rebase&quot;, &quot;for some reason I see duplicate commits&quot; and so on.<p>To help my colleagues I came up with a list of git uses cases that can be tested in a sort of interactive playground using a shell script that will set-up the use case and then we can go ahead and try to solve the problem.<p>The main advantage here is that all use cases are reproducible and that by looking at the shell script we can see how we got in the mess in the first place.<p>Everything is written in posix shell and should work on linux, macos and windows (with git bash).<p>Any comments, feedback and contributions are very welcome !<p>PS: This is somewhat inspired by <a href="https:&#x2F;&#x2F;ohshitgit.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ohshitgit.com&#x2F;</a>

no comments

no comments