24

Next time someone asks me to teach them Git, my reaction would be this.

Comments
  • 0
    @thmnmlst 🙄🙄🙄🙄
  • 2
    Code academy has free lessons on git if I'm correct
  • 1
    @Bubbles yup so many resources
  • 0
    Best way to learn git. Screw up your repo not knowing what you're doing, then struggle to fix it, give up, delete and clone again, then add what you did to screw it up to the list of things that screws it up.
  • 1
    @vinaysshenoy I wish there were a meta-version control system on top of git that let you track and undo changes made to your git repository.

    It could be implemented invisibly as a local-only git repository holding your code's git repository, and each git command you give is passed to the inner repository and tracked as an individual commit in the outer.

    Input a git command that fucked up your repository? No big deal, revert the last command. Input many commands and messed up your repository? Revert them since it went off the rails and then try again. I doubt we could cleanly do cherry-picks and merges, but being able to move back and forth through the command history might be good enough.

    It's just always bugged me that we have all this stuff tracking the changes I make to code but nothing tracking the changes I make to the stuff tracking the changes I make to code. A simple undo command would make a world of difference for git newbies. I'm surprised it doesn't already exist. :\
Add Comment